/* .card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: var(--spacing);
    margin-bottom: var(--spacing);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.tag {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.tag.positive {
    background: #dcfce7;
    color: var(--positive);
}

.tag.negative {
    background: #fee2e2;
    color: var(--negative);
}

.tag.perspective {
    background: #ede9fe;
    color: var(--perspective);
}

.badge {
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    margin-left: 0.5rem;
} */

.app-header {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 0.4rem 0;
}

.bottom-nav a {
    text-align: center;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
}

.bottom-nav .nav-main {
    font-weight: bold;
    color: var(--primary);
}

main.container {
    padding-bottom: 4.5rem; /* espace pour la bottom nav */
}

/* --- Boutons --- */
.button-primary {
    /* Couleurs basées sur ton dashboard */
    background: #667eea; 
    color: white;
    
    /* Structure */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    
    /* Forme et bordures */
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px; /* Arrondi moderne */
    
    /* Typographie */
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    
    /* Interaction */
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.button-primary:hover {
    background: #5a67d8; /* Un bleu légèrement plus foncé au survol */
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.button-primary:active {
    transform: translateY(0);
}

/* Version pleine largeur pour le mobile si besoin */
.w-full {
    width: 100%;
}

/* public/css/components.css */

.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    
    background-color: #667eea !important; /* On force la couleur */
    color: #ffffff !important;           /* On force le texte blanc */
    text-decoration: none !important;    /* ANTI-SOULIGNEMENT */
    
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.button-primary:hover {
    background-color: #5a67d8 !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* =========================
   FLASH MESSAGES
========================= */
.flash {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.flash-success {
    background: #dcfce7;
    color: #166534;
}

.flash-warning {
    background: #fef3c7;
    color: #92400e;
}

.flash-error,
.flash-danger {
    background: #fee2e2;
    color: #991b1b;
}

.flash-info {
    background: #e0f2fe;
    color: #075985;
}
