/* Authentication Pages Styles (Login & Register) */

.auth-container {
    min-height: calc(100vh - 12.5em);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8) var(--space-4);
}

.auth-card {
    max-width: 28.125em;
    width: 100%;
    background: var(--bg-primary);
    padding: var(--space-12);
    border-radius: var(--radius-lg);
    box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.15);
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.auth-header h1 {
    margin-bottom: var(--space-2);
    font-size: var(--font-size-3xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
}

.auth-header p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    margin: 0;
}

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

.auth-divider a {
    color: var(--primary);
    font-weight: var(--font-semibold);
    text-decoration: none;
    transition: all 0.2s ease;
}

.auth-divider a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Form Enhancements for Auth Pages */
.auth-card .form-group {
    margin-bottom: var(--space-6);
}

.auth-card .btn {
    width: 100%;
    padding: var(--space-4);
    font-size: var(--font-size-base);
    font-weight: var(--font-semibold);
}

.auth-card .alert {
    margin-bottom: var(--space-6);
}

/* Register Page Specific */
.name-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

/* Responsive Design */
@media (max-width: 48em) {
    .auth-container {
        padding: var(--space-6) var(--space-4);
        min-height: calc(100vh - 10em);
    }

    .auth-card {
        padding: var(--space-8);
    }

    .auth-header h1 {
        font-size: var(--font-size-2xl);
    }
}

@media (max-width: 30em) {
    .auth-card {
        padding: var(--space-6);
    }

    .auth-header {
        margin-bottom: var(--space-6);
    }
}