/* Styles pour le tableau de classement - Version simple et neutre */

.classement-container {
    width: 100%;
    margin: 2rem 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.classement-container h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.classement-loading {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

/* Tableau principal */
.classement-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.classement-table thead th {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 12px 8px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.classement-table tbody td {
    border: 1px solid #dee2e6;
    padding: 10px 8px;
    font-size: 0.9rem;
    color: #333;
}

.classement-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.classement-table tbody tr:hover {
    background-color: #e9ecef;
}

/* Barre de recherche personnalisée */
.custom-search {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

.custom-search label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

.custom-search input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out;
}

.custom-search input:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.custom-search .form-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

/* Styles DataTables simplifiés */
.dataTables_wrapper {
    margin-top: 1rem;
}

.dataTables_length {
    margin-bottom: 1rem;
}

.dataTables_length label {
    font-weight: 500;
    color: #495057;
    display: flex;
    align-items: center;
}

.dataTables_length select {
    margin: 0 0.5rem;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: white;
}

/* .dataTables_filter supprimé car la barre de recherche par défaut n'est plus visible */

.dataTables_info {
    margin-top: 1rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.dataTables_paginate {
    margin-top: 1rem;
}

.dataTables_paginate .paginate_button {
    padding: 0.5rem 0.75rem;
    margin: 0 0.25rem;
    border: 1px solid #dee2e6;
    background-color: white;
    color: #007bff;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
}

.dataTables_paginate .paginate_button:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #0056b3;
}

.dataTables_paginate .paginate_button.current {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.dataTables_paginate .paginate_button.disabled {
    color: #6c757d;
    cursor: not-allowed;
    background-color: #e9ecef;
}

/* Responsive */
@media (max-width: 768px) {
    .classement-table {
        font-size: 0.8rem;
    }
    
    .classement-table thead th,
    .classement-table tbody td {
        padding: 8px 6px;
    }
    
    .custom-search {
        padding: 0.75rem;
    }
    
    .custom-search input {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}
