/* === /assets/css/auth.css === */
/* QRCard Pro — Auth pages (Light Premium) */

.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(135deg, #EEF2FF 0%, #F8FAFC 40%, #FAF5FF 100%);
    position: relative;
    overflow: hidden;
}

/* Blobs décoratifs lumineux */
.auth-body::before,
.auth-body::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatBlob 8s ease-in-out infinite alternate;
}
.auth-body::before {
    width: 400px;
    height: 400px;
    background: #C7D2FE;
    top: -100px;
    right: -100px;
}
.auth-body::after {
    width: 350px;
    height: 350px;
    background: #DDD6FE;
    bottom: -80px;
    left: -80px;
    animation-delay: 4s;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

.auth-container {
    width: 100%;
    max-width: 440px;
    background: var(--surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 40px 36px;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    position: relative;
    z-index: 1;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}
.auth-logo i {
    font-size: 28px;
    color: var(--primary);
}
.auth-logo span {
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.auth-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4px;
    color: var(--text);
}

.auth-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 28px;
}

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

.auth-form .input-icon {
    position: relative;
}

.auth-form .input-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
    transition: color var(--transition-fast);
    pointer-events: none;
}

.auth-form .input-icon input {
    padding-left: 42px;
}

.auth-form .input-icon input:focus + i,
.auth-form .input-icon input:focus ~ i {
    color: var(--primary);
}

.auth-form .btn-full {
    margin-top: 8px;
    height: 48px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: var(--radius-pill);
}

/* ── Checkbox ── */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
}
.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.link-forgot {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.link-forgot:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.auth-footer p {
    font-size: 14px;
    color: var(--text-muted);
}
.auth-footer a {
    font-weight: 600;
    color: var(--primary);
    transition: color var(--transition-fast);
}
.auth-footer a:hover {
    color: var(--primary-dark);
}

/* ── Alert improvements ── */
.auth-container .alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    animation: fadeInUp 0.3s ease;
}
.auth-container .alert i { font-size: 16px; flex-shrink: 0; }

.auth-container .alert-danger {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.auth-container .alert-success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .auth-container {
        padding: 32px 24px;
        border-radius: var(--radius-lg);
    }
    .auth-title { font-size: 20px; }
    .form-row-between { flex-direction: column; gap: 12px; align-items: flex-start; }
}
