/* 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;
}

/* Request access page */
.auth-page-access .auth-container {
    position: relative;
}

.auth-page-access .auth-container::before {
    content: "";
    position: absolute;
    width: min(520px, 90vw);
    height: min(520px, 90vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(1, 249, 196, 0.18) 0%, transparent 70%);
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.auth-card--access {
    position: relative;
    max-width: 440px;
    padding: 2.5rem 2.75rem 2.25rem;
    text-align: center;
    overflow: hidden;
}

.auth-access-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(145deg, var(--white) 0%, rgba(1, 249, 196, 0.08) 100%);
    border: 1px solid rgba(1, 249, 196, 0.3);
    box-shadow:
        0 8px 32px -8px rgba(0, 42, 36, 0.2),
        0 0 0 6px rgba(1, 249, 196, 0.08);
}

.auth-access-icon-img {
    display: block;
    width: 36px;
    height: auto;
    max-height: 36px;
    object-fit: contain;
}

.auth-header--access {
    margin-bottom: 1.5rem;
}

.auth-header--access h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-access-lead {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.55;
    max-width: 32ch;
    margin: 0 auto;
}

.auth-access-contact {
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    text-align: left;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--gray-50) 0%, rgba(1, 249, 196, 0.06) 100%);
    border: 1px solid var(--gray-200);
}

.auth-access-cta {
    text-decoration: none;
    gap: 0.5rem;
}

.auth-access-cta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.auth-access-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.875rem;
}

.auth-access-action {
    width: 100%;
    text-decoration: none;
    gap: 0.5rem;
}

.auth-access-action svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.auth-access-or {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.auth-access-or::before,
.auth-access-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.auth-footer--access {
    margin-top: 1.25rem;
}

.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;
    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;
}
