/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 480px;
    border: 1px solid rgba(1, 249, 196, 0.2);
    backdrop-filter: blur(20px);
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h1 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark-green);
    font-weight: 700;
}

.auth-header p {
    color: var(--gray-500);
    font-weight: 300;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--gray-500);
    font-weight: 300;
}

.auth-footer a {
    color: var(--dark-green);
    text-decoration: none;
    font-weight: 300;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Auth notices and SSO */
.auth-notice {
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 300;
}

.auth-notice-success {
    background: rgba(1, 249, 196, 0.12);
    border: 1px solid rgba(1, 249, 196, 0.35);
    color: var(--dark-green);
}

.auth-notice-error {
    background: rgba(246, 81, 29, 0.08);
    border: 1px solid rgba(246, 81, 29, 0.28);
    color: #9a3412;
}

.auth-notice-lexr-sso {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.25rem;
    border-radius: 14px;
    border: 1px solid rgba(1, 249, 196, 0.45);
    background:
        linear-gradient(145deg, rgba(0, 42, 36, 0.06) 0%, rgba(1, 249, 196, 0.12) 100%);
    box-shadow: 0 4px 24px -8px rgba(0, 42, 36, 0.25);
}

.auth-notice-lexr-sso-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--white);
    border: 1px solid rgba(1, 249, 196, 0.25);
    box-shadow: var(--shadow);
}

.auth-notice-lexr-sso-logo {
    display: block;
    width: 30px;
    height: auto;
    max-height: 30px;
    object-fit: contain;
}

.auth-notice-lexr-sso-copy {
    min-width: 0;
    text-align: left;
}

.auth-notice-lexr-sso-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dark-green);
    margin-bottom: 0.4rem;
}

.auth-notice-lexr-sso-text {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--gray-700);
    font-weight: 300;
    margin: 0;
}

.btn-microsoft-sso {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    color: var(--gray-900);
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: 'SetupGrotesk', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-microsoft-sso:hover {
    border-color: rgba(1, 249, 196, 0.55);
    box-shadow: 0 0 0 3px rgba(1, 249, 196, 0.12);
    background: rgba(1, 249, 196, 0.04);
}

.auth-card:has(.auth-notice-lexr-sso) .btn-microsoft-sso {
    border-color: rgba(1, 249, 196, 0.5);
    box-shadow: 0 2px 14px rgba(1, 249, 196, 0.12);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
}

.auth-divider-line {
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.auth-divider-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.auth-forgot-wrap {
    text-align: center;
    margin-top: 0.75rem;
}

.auth-forgot-link {
    font-size: 0.8125rem;
    color: var(--dark-green);
    text-decoration: none;
    font-weight: 700;
}

.auth-forgot-link:hover {
    color: var(--light-green-darker);
    text-decoration: underline;
}
