/* =============================================
   assets/css/style.css - CSS Principal Madose2Trop
   ============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7fa;
    color: #333;
    line-height: 1.6;
}

/* En-têtes */
h1, h2, h3 {
    color: #2c3e50;
    font-weight: 700;
}

.header h1 {
    font-size: 2.5rem;
}

.header h3 {
    font-size: 1.25rem;
    color: #6c757d;
}

/* Navigation rapide */
.nav-container {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

.nav-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Badge messages non lus */
.badge-unread {
    position: absolute;
    top: -6px;
    right: -6px;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    background: #dc3545;
    color: white;
    border: 2px solid white;
}

/* Carte témoignage */
.testimony {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimony:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.testimony-info {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 12px;
}

.symptom-badge {
    display: inline-block;
    background: #e9ecef;
    color: #343a40;
    padding: 4px 10px;
    margin: 4px 4px 4px 0;
    border-radius: 20px;
    font-size: 0.8rem;
}

.author-location {
    color: #5a7184;
    font-weight: 500;
}

/* Annonce */
.announcement-card {
    background: white;
    border-left: 5px solid #dc3545;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Barre de recherche */
.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .nav-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .nav-btn {
        width: 100%;
        max-width: none;
    }
}

/* Améliorations Bootstrap */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.alert {
    border-radius: 8px;
}
.navbar .form-select {
    background-color: #343a40;
    color: white;
    border-color: #495057;
}

.navbar .form-select:focus {
    background-color: #343a40;
    color: white;
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}