/* =============================================
   AUTH PAGES (Login, Register)
   ============================================= */

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

.auth-left {
    width: 100%;
    max-width: 440px;
}

/* Back to home link */
.auth-home-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
    transition: color 0.2s;
}
.auth-home-link:hover {
    color: var(--color-accent);
}

/* Big hero logo above card */
.auth-hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}
.auth-hero-logo__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
}
.auth-hero-logo__text {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--color-text-primary);
}

.auth-card {
    width: 100%;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: var(--space-10);
    border: 1px solid var(--color-border-light);
}

.auth-card h1 {
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-2);
}

.auth-card__subtitle {
    color: var(--color-text-secondary);
    font-size: var(--fs-base);
    margin-bottom: var(--space-8);
}

.auth-card .form-group:last-of-type {
    margin-bottom: var(--space-6);
}

.auth-card__footer {
    text-align: center;
    margin-top: var(--space-6);
    font-size: var(--fs-sm);
    color: var(--color-text-secondary);
}

.auth-card__footer a {
    color: var(--color-accent);
    font-weight: var(--fw-medium);
}

.auth-card__links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
    font-size: var(--fs-sm);
}

@media (max-width: 480px) {
    .auth-layout {
        padding: var(--space-4);
        align-items: flex-start;
        padding-top: var(--space-6);
    }

    .auth-left {
        max-width: none;
    }

    .auth-hero-logo {
        margin-bottom: var(--space-6);
    }
    .auth-hero-logo__icon {
        width: 44px;
        height: 44px;
        border-radius: 11px;
    }
    .auth-hero-logo__text {
        font-size: 2rem;
    }

    .auth-card {
        padding: var(--space-6);
        border-radius: var(--radius-lg);
    }
}
