/**
 * Auth Pages
 * Styles pour login, register, etc.
 */

/* ==========================================================================
   LAYOUT AUTH
   ========================================================================== */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 50%, #1D4ED8 100%);
    padding: 40px 20px;
}

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

/* ==========================================================================
   AUTH CARD
   ========================================================================== */

.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 25px;
}

.auth-logo .logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--main-color);
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-title);
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-light);
}

/* ==========================================================================
   FORMULAIRE AUTH
   ========================================================================== */

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-label {
    font-size: 14px;
}

.auth-form .form-input {
    padding: 14px 16px;
}

.auth-form .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    margin-top: 10px;
}

/* Checkbox remember me */
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--main-color);
}

.auth-forgot {
    color: var(--main-color);
    text-decoration: none;
}

.auth-forgot:hover {
    text-decoration: underline;
}

/* ==========================================================================
   FOOTER AUTH
   ========================================================================== */

.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-light);
    font-size: 14px;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--main-color);
    font-weight: 500;
    text-decoration: none;
}

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

/* ==========================================================================
   SÉPARATEUR
   ========================================================================== */

.auth-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: var(--text-light);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    padding: 0 15px;
}

/* ==========================================================================
   MESSAGES
   ========================================================================== */

.auth-card .alert {
    margin-bottom: 25px;
}

/* ==========================================================================
   RESPONSIVE AUTH
   ========================================================================== */

@media (max-width: 480px) {
    .auth-card {
        padding: 35px 25px;
    }

    .auth-title {
        font-size: 22px;
    }

    .auth-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}
