.table-wp {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #ffffff;
    color: #273170;
    /* bleu primaire */
}

.table-wp th,
.table-wp td {
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #ccc;
}

.table-wp thead {
    background: #dde6f3;
}

.table-wp tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.table-wp tbody tr:hover {
    background-color: #edf2fb;
    color: #1d255c;
}

/* Scrollable container */
.table-scroll-200 {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: auto;
    border: 1px solid #ccc;
}

/* Boutons */
.btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    font-weight: normal;
    border: none;
    cursor: pointer;
}

.btn-create {
    background-color: #0c9790;
    color: white;
}

.btn-export {
    background-color: #444;
    color: white;
}

.btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
    transition: 0.2s ease-in-out;
}

/* Liens d'action */
.action-link {
    text-decoration: none;
    color: #273170;
    display: inline-flex;
    align-items: center;
}

/* Badges génériques */
.etat-label,
.badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}

/* Badges colorés avec texte lisible */
.badge-muted {
    background-color: #e0e0e0;
    color: #273170;
}

.badge-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.badge-success {
    background-color: #d4edda;
    color: #155724;
}

.badge-warning {
    background-color: #fff3cd;
    color: #856404;
}

.badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.badge-primary {
    background-color: #cce5ff;
    color: #004085;
}

.badge-secondary {
    background-color: #e2e3e5;
    color: #383d41;
}

.badge-dark {
    background-color: #d6d8d9;
    color: #1b1e21;
}

/* Barre d'action horizontale */
.actions-bar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
}

.actions-group {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
}

.actions-group .btn,
.actions-group input[type="text"],
.actions-group .search-wrapper {
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 13px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
