.tables-container {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding: 8px;
    background: #f4f5f7; /* gris clair global */
}

.table-section {
    flex: 1;
    min-width: 360px;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #dcdfe3;
    border-radius: 6px;
    overflow: hidden;
    font-family: system-ui, sans-serif;
    font-size: 13px;
    line-height: 1.3;
}

.modern-table th {
    background: #e9ecef; /* gris plus soutenu */
    color: #2d3436;
    padding: 8px 10px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    border-bottom: 2px solid #d0d4da;
}

.modern-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #e6e9ef;
    vertical-align: middle;
}

.modern-table tr:last-child td {
    border-bottom: none;
}

.modern-table tr:hover td {
    background-color: rgba(0,0,0,0.04); /* discret hover */
}

.player-name {
    font-weight: 600;
    color: #1e293b;
}

.class-name {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #6c757d;
}

.damage-value, .healing-value {
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    color: #2d3436;
}

.progress-cell {
    width: 120px;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 14px;
    background-color: #f1f3f5;
    border-radius: 7px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 7px;
    transition: width 0.2s ease-in-out;
}

.progress-fill.damage {
    background: linear-gradient(90deg, #ff6b6b, #d64545);
}

.progress-fill.healing {
    background: linear-gradient(90deg, #51cf66, #2b8a3e);
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

h2 {
    color: #2d3436;
    font-family: system-ui, sans-serif;
    margin-bottom: 10px;
    font-size: 1.1em;
    font-weight: 600;
}
