/* LMS auth flows — shared (login, register, reset, verify) */

.lms-auth-hidden {
    display: none !important;
}

/* Header / title blocks */
.lms-auth-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.lms-auth-hero-stack {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.lms-auth-hero-stack--spaced {
    margin-bottom: 1.5rem;
}

.lms-auth-hero-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lms-auth-hero-icon-wrap--accent {
    background: hsl(24 90% 48% / 0.1);
}

.lms-auth-hero-icon-wrap--success {
    background: hsl(142 71% 45% / 0.1);
}

.lms-auth-hero-icon-wrap--lg {
    width: 64px;
    height: 64px;
}

.lms-auth-icon-primary {
    color: var(--primary);
}

/* Text center helper (views toggled by JS) */
.lms-auth-text-center {
    text-align: center;
}

/* Links */
.lms-auth-link-primary {
    color: var(--primary);
    font-weight: 600;
}

.lms-auth-link-muted {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

.lms-auth-field-hint {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    margin-top: 0.35rem;
}

.lms-auth-text-terms {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-align: center;
    margin-top: 1rem;
}

.lms-auth-text-terms a {
    color: var(--primary);
}

.lms-auth-footer-row {
    margin-top: 1.25rem;
    text-align: center;
}

.lms-auth-footer-row--tight {
    margin-top: 1rem;
    text-align: center;
}

/* Login: password row label flush */
.lms-auth-label-flush {
    margin-bottom: 0;
}

/* Verify email */
.lms-auth-card--center {
    text-align: center;
}

.lms-auth-title-tight {
    margin-bottom: 0.5rem;
}

.lms-auth-subtitle-tight {
    margin-bottom: 1.5rem;
}

.lms-auth-text-strong {
    color: var(--foreground);
}

.lms-auth-steps-panel {
    background-color: var(--muted);
    border-radius: 0;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.lms-auth-steps-heading {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lms-auth-step-num {
    width: 22px;
    height: 22px;
    border-radius: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    font-family: "JetBrains Mono", monospace;
}

.lms-auth-step-text {
    font-size: 0.875rem;
    color: var(--foreground);
}

.lms-auth-wrong-email {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 1rem;
}

/* Reset password */
.lms-auth-sent-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.lms-auth-sent-text {
    margin-bottom: 1.5rem;
}

.lms-auth-sent-email {
    color: var(--foreground);
}

/* Responsive back link (login header) */
.sm-show {
    display: none;
}

.sm-hide {
    display: inline;
}

@media (min-width: 640px) {
    .sm-show {
        display: inline;
    }

    .sm-hide {
        display: none;
    }
}

@media (max-width: 767px) {
    .lms-auth-steps-panel {
        padding: 1.125rem;
    }

    .lms-auth-step-text {
        line-height: 1.5;
    }
}
