#op-joueurs-table_wrapper .dataTables_filter {
    float: left !important;
    text-align: left !important;
}

#op-joueurs-table_wrapper .dataTables_info {
    float: right !important;
}

#op-joueurs-table_filter{
    padding-left: 0;
}

/* Fixe le débordement du champ de recherche */
#op-joueurs-table_filter input {
    max-width: 100%;
    box-sizing: border-box;
}

#op-joueurs-table_wrapper .dataTables_filter {
    max-width: 100%;
}

/* Fixe le débordement du champ de recherche */
#op-joueurs-table_filter input {
    max-width: 100%;
    box-sizing: border-box;
}

#op-joueurs-table_wrapper .dataTables_filter {
    max-width: 100%;
}

/* Badges pour les licences */
.op-badge {
    display: inline-block;
    padding: 4px 8px;
    background: #470000;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin: 2px;
}

.op-badge-large {
    display: inline-block;
    padding: 8px 12px;
    background: #470000;
    color: white;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    font-family: monospace;
}

/* Items d'équipe dans le tableau */
.op-team-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0;
}

.op-team-type {
    display: inline-block;
    padding: 3px 8px;
    color: white;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.op-team-label {
    font-size: 13px;
}

/* Modal de détails */
.op-joueur-details {
    text-align: left;
    max-height: 70vh;
    overflow-y: auto;
}

.op-detail-section {
    margin-bottom: 24px;
}

.op-detail-section:last-child {
    margin-bottom: 0;
}

.op-detail-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #333;
    border-bottom: 2px solid #470000;
    padding-bottom: 6px;
}

.op-detail-info {
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.6;
}

.op-detail-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.op-detail-item {
    padding: 4px 0;
}

.op-detail-team {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #470000;
}

.op-team-label-large {
    font-size: 14px;
    font-weight: 500;
}

.op-detail-empty {
    padding: 12px;
    text-align: center;
    color: #999;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 6px;
}

/* Styles du tableau */
#op-joueurs-table tbody tr {
    cursor: pointer;
    transition: background-color 0.2s;
}

#op-joueurs-table tbody tr:hover {
    background-color: #f8f9fa !important;
}

/* Responsive */
@media (max-width: 768px) {
    .op-joueur-details {
        max-height: 80vh;
    }
    
    .op-badge {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .op-team-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}