/* --- VARIABLES GLOBALES ET THÈMES --- */
:root { 
    --primary: #0d3b66; 
    --accent: #f48c06; 
    --bg-color: #f0f4f8; 
    --card-bg: #ffffff; 
    --input-bg: #f8f9fa; 
    --text-main: #1a202c; 
    --text-muted: #718096; 
    --border-color: #e2e8f0; 
}
[data-theme="dark"] { 
    --bg-color: #0f172a; 
    --card-bg: #1e293b; 
    --input-bg: #334155; 
    --text-main: #f8fafc; 
    --text-muted: #94a3b8; 
    --border-color: #475569; 
}

/* --- RESET ET BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

/* --- ALERTES GLOBALES --- */
.alert { padding: 12px; border-radius: 8px; margin-bottom: 15px; font-weight: 600; font-size: 0.9rem; text-align: center; }
.alert.success { background: rgba(40, 167, 69, 0.1); color: #28a745; border-left: 4px solid #28a745; }
.alert.error { background: rgba(220, 53, 69, 0.1); color: #dc3545; border: 1px solid rgba(220, 53, 69, 0.3); }

/* --- NAVIGATION BAS DE PAGE (BOTTOM NAV) --- */
.bottom-nav { 
    position: fixed; bottom: 0; left: 0; width: 100%; 
    background: var(--card-bg); border-top: 1px solid var(--border-color); 
    padding: 15px 20px; display: flex; justify-content: space-around; 
    z-index: 1000; box-shadow: 0 -5px 25px rgba(0,0,0,0.05); 
}
.nav-item { 
    display: flex; flex-direction: column; align-items: center; 
    gap: 6px; color: var(--text-muted); text-decoration: none; 
    font-size: 0.8rem; font-weight: 700; transition: 0.3s; 
}
.nav-item.active, .nav-item:hover { color: var(--primary); }
.nav-item i { font-size: 1.4rem; }