/* Variables */
:root {
    --primary-color: black;
    --secondary-color: #f4f4f4;
    --accent-color: #007BFF;
    --text-color: #222;
    --text-light: #555;
    --border-radius: 10px;
    --input-width: 276px;
    --form-width: 300px;
    --panel-padding: 60px;
    --logo-size: 80px;
    --microsoft-blue: #2F2F2F;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    min-height: 100vh;
    color: var(--text-color);
}

.left-panel {
    background-color: var(--secondary-color);
    width: 50%;
    padding: var(--panel-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    width: var(--logo-size);
    height: var(--logo-size);
    margin-bottom: 30px;
}

.left-panel h1 {
    margin: 0;
}

.left-panel p {
    margin-top: 10px;
    font-size: 16px;
    color: var(--text-light);
    text-align: center;
}

.right-panel {
    width: 50%;
    padding: var(--panel-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.login-form {
    max-width: var(--form-width);
    margin: auto;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 32px 24px;
    transition: opacity 0.3s ease-in-out;
    text-align: center;
}

.login-form h2 {
    margin-bottom: 30px;
}

.login-form input {
    width: var(--input-width);
    padding: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    outline: none;
    transition: border-color 0.2s;
}

.login-form input:focus {
    border-color: var(--accent-color);
}

.login-form button {
    width: var(--form-width);
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-size: 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background 0.2s;
}

.login-form button:hover {
    background: #222;
}

.login-form .forgot {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: var(--accent-color);
    cursor: pointer;
    transition: text-decoration 0.2s;
}

.login-form .forgot:hover {
    text-decoration: underline;
}

.signup-link {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

.signup-link .link {
    color: var(--accent-color);
    cursor: pointer;
    transition: text-decoration 0.2s;
}

.signup-link .link:hover {
    text-decoration: underline;
}

.signup-back {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

.signup-back .link {
    color: var(--accent-color);
    cursor: pointer;
    transition: text-decoration 0.2s;
}

.signup-back .link:hover {
    text-decoration: underline;
}

.reset-text {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    text-align: left;
}

.back-to-login {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: var(--accent-color);
    cursor: pointer;
    transition: text-decoration 0.2s;
}

.back-to-login:hover {
    text-decoration: underline;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 10px;
    text-align: left;
    min-height: 16px;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 15px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.divider span {
    padding: 0 10px;
    color: var(--text-light);
    font-size: 14px;
}

.microsoft-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--microsoft-blue) !important;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: var(--border-radius);
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

.microsoft-btn:hover {
    background-color: #1a1a1a !important;
}

.microsoft-btn img {
    width: 24px;
    height: 24px;
}

.temp-proceed {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.temp-btn {
    background-color: #f0f0f0 !important;
    color: #666 !important;
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s;
}

.temp-btn:hover {
    background-color: #e0e0e0 !important;
    color: #333 !important;
}

/* Responsive design */
@media (max-width: 900px) {
    .left-panel, .right-panel {
        width: 100%;
        padding: 32px 10vw;
    }
    body {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .login-form {
        padding: 20px 5vw;
        max-width: 100%;
    }
    .left-panel, .right-panel {
        padding: 20px 2vw;
    }
    .login-form input, .login-form button {
        width: 100%;
        min-width: 0;
    }
    .microsoft-btn {
        width: 100%;
        min-width: 0;
    }
}

/* Password View Styles */
.password-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.password-error {
    color: #dc3545;
    font-size: 12px;
    margin-bottom: 15px;
    min-height: 16px;
    text-align: center;
}

.password-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.password-btn {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-size: 14px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background 0.2s;
    min-width: 80px;
}

.password-btn:hover {
    background: #222;
}

.password-btn.cancel-btn {
    background-color: #6c757d;
}

.password-btn.cancel-btn:hover {
    background-color: #5a6268;
} 