.ecd-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ecd-table {
    width: 100%;
    border-collapse: collapse;
    color: #e6edf8;
}

.ecd-table thead {
    background: rgba(30, 136, 229, 0.12);
}

.ecd-table th,
.ecd-table td {
    padding: 12px 10px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

.ecd-table th {
    font-weight: 600;
    color: #fff;
}

.ecd-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.ecd-table .ecd-player-name {
    color: #7eb8ff;
    font-weight: 600;
}

.ecd-table .ecd-steam {
    font-family: Consolas, monospace;
    font-size: 12px;
    color: #b8c7dc;
}

.ecd-table .ecd-details-btn {
    color: #4ea3ff;
    font-weight: 600;
    text-decoration: none;
}

.ecd-table .ecd-details-btn:hover {
    color: #8ec5ff;
    text-decoration: none;
}

.ecd-label-hack {
    background: #2b1f2b !important;
    color: #ff8f8f !important;
    border: 1px solid #7a2f4a;
}

.ecd-modal-header.is-success {
    background: linear-gradient(90deg, #1f5f3a, #2e7d4f);
}

.ecd-modal-header.is-warning {
    background: linear-gradient(90deg, #6a5318, #9a7a1f);
}

.ecd-modal-header.is-danger {
    background: linear-gradient(90deg, #6a1f1f, #9a2f2f);
}

.ecd-modal-header.is-hack {
    background: linear-gradient(90deg, #3a1f3a, #6a2f4a);
}

.ecd-modal-header.is-default {
    background: linear-gradient(90deg, #1b2f4a, #25466b);
}

.ecd-modal-alert {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 22, 38, 0.85);
    color: #e6edf8;
}

.ecd-modal-alert.is-danger {
    border-color: rgba(220, 53, 69, 0.55);
    background: rgba(80, 20, 30, 0.45);
}

.ecd-modal-alert.is-warning {
    border-color: rgba(255, 193, 7, 0.45);
    background: rgba(80, 60, 10, 0.35);
}

.ecd-modal-alert.is-success {
    border-color: rgba(40, 167, 69, 0.45);
    background: rgba(20, 60, 35, 0.35);
}

.ecd-modal-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.ecd-meta-item {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(12, 22, 38, 0.65);
    text-align: center;
}

.ecd-meta-item small {
    display: block;
    color: #9eb2cb;
    margin-bottom: 4px;
}

.ecd-meta-item strong {
    color: #fff;
}

.ecd-empty-block {
    padding: 24px;
    text-align: center;
    color: #c5d4ea;
}

.ecd-empty-block .btn-top {
    margin: 8px 6px 0;
}
