/* app/static/css/style.css */

/* --- Formulaires d'authentification (Login & Register) --- */
.auth-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(15, 76, 129, 0.08);
    overflow: hidden;
    background-color: #ffffff;
}

.auth-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e88e5 100%);
    color: #ffffff;
    padding: 2.5rem 2rem;
    text-align: center;
}

.auth-header i {
    opacity: 0.9;
}

.auth-body {
    padding: 2.5rem 2rem;
}

/* --- Contrôles de formulaire --- */
.form-label {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.form-control, .form-select {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 136, 229, 0.15);
}

.input-group-text {
    background-color: #f8fafc;
    border-color: var(--border-color);
    color: var(--muted-text);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

/* --- Cartes de statistiques (Dashboards) --- */
.stat-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* --- Animation douce des alertes --- */
.alert {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}