/* ============================================================
   Riptide Application Manager — Auth Pages
   Login, forgot-password, reset-password, etc.
   Uses design tokens from site.css.
   ============================================================ */

.auth-body {
    background: var(--color-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    width: 100%;
    padding: 1rem;
}

.auth-card-container {
    max-width: 480px;
    margin: 0 auto;
}

.auth-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

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

.auth-logo {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--riptide-blue);
    margin-bottom: 0.5rem;
}

.auth-logo-img {
    height: 64px;
    width: 64px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.auth-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-bold);
    margin: 0;
}

.auth-header .text-muted {
    margin: 0.25rem 0 0;
    font-size: 0.9375rem;
}

.auth-validation {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.auth-section {
    margin-bottom: 0.5rem;
}

.auth-section h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-bold);
}

.auth-section > .text-muted {
    font-size: 0.8125rem;
    margin: 0 0 1rem;
}

.auth-section-highlight {
    padding: 1.25rem;
    background: var(--color-bg);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid var(--color-border);
}

.auth-divider span {
    position: relative;
    background: var(--color-surface);
    padding: 0 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.auth-forgot a {
    font-size: 0.8125rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.8125rem;
}

.auth-footer p {
    margin: 0;
}

.sso-link {
    margin-bottom: 0.5rem;
}

.sso-icon {
    width: 20px;
    height: 20px;
}

/* Alternate login link ("Have a trial token?" / "Sign in with email") */
.auth-alt-link {
    text-align: center;
}

.auth-alt-link a {
    font-size: 0.875rem;
    color: var(--riptide-blue);
    text-decoration: none;
}

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

.auth-forgot-separator {
    margin: 0 0.375rem;
    color: var(--color-border);
}
