/* Styles spécifiques pour la page de recherche CV */

/* Cartes de statistiques - Correction de visibilité */
.stats-row .card {
    background: linear-gradient(135deg, #4c5a7d, #5a6a8a) !important;
    color: white !important;
    border: none !important;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stats-row .card h3,
.stats-row .card .card-title {
    color: white !important;
    font-size: 2.5rem !important;
    font-weight: bold !important;
    margin-bottom: 0.5rem !important;
    text-shadow: none !important;
}

.stats-row .card p,
.stats-row .card .card-text {
    color: rgba(255,255,255,0.9) !important;
    font-size: 1rem !important;
    margin-bottom: 0 !important;
}

/* Variantes de couleurs pour les différentes statistiques */
.stats-row .card:nth-child(1) {
    background: linear-gradient(135deg, #17a2b8, #20c997) !important;
}

.stats-row .card:nth-child(2) {
    background: linear-gradient(135deg, #6f42c1, #e83e8c) !important;
}

.stats-row .card:nth-child(3) {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

/* Correction des listes déroulantes - Alignement du texte */
.filters-section select,
.filters-section .form-control {
    height: 45px !important;
    padding: 8px 12px !important;
    line-height: 1.5 !important;
    vertical-align: middle !important;
    display: flex !important;
    align-items: center !important;
}

.filters-section select option {
    padding: 10px 12px !important;
    line-height: 1.6 !important;
    height: auto !important;
}

/* Correction spécifique pour Bootstrap select */
.form-select,
select.form-control,
select.form-select {
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
    padding-right: 2.25rem !important;
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
    line-height: 1.5 !important;
}

/* Amélioration de l'apparence générale des filtres */
.filters-section {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.filters-section h4 {
    color: #4c5a7d;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Bouton d'application des filtres */
.btn-apply-filters {
    background: linear-gradient(135deg, #4c5a7d, #5a6a8a);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-apply-filters:hover {
    background: linear-gradient(135deg, #3a4560, #4a5a7a);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Responsive pour les statistiques */
@media (max-width: 768px) {
    .stats-row .card {
        margin-bottom: 1rem;
    }
    
    .stats-row .card h3,
    .stats-row .card .card-title {
        font-size: 2rem !important;
    }
    
    .filters-section {
        padding: 1rem;
    }
}

/* Mode sombre - Ajustements */
.dark-mode .stats-row .card {
    box-shadow: 0 4px 6px rgba(255,255,255,0.1) !important;
}

.dark-mode .filters-section {
    background-color: #2d2d2d;
    border: 1px solid #404040;
}

.dark-mode .filters-section h4 {
    color: #e0e0e0;
}
