/* =============================================================================
   Version: 1.0.0 | Date: 2026-01-17 12:00:00 UTC | File: backend/src/core/static/core/css/components/tables.css | by Codex
   ============================================================================= */

.table thead th {
    color: var(--ea-primary-dark);
    font-weight: 600;
    text-transform: none;
}

.table tbody td {
    color: #233042;
}

.table td.text-end .btn,
.table td.text-end .btn-group .btn {
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
}

.table tbody tr:hover {
    background: rgba(18, 63, 105, 0.04);
}

.table .btn-outline-secondary,
.table .btn-outline-danger,
.table .btn-outline-primary {
    border-color: rgba(18, 63, 105, 0.2);
}

.table .btn-outline-danger:hover,
.table .btn-outline-danger:focus {
    border-color: rgba(220, 38, 38, 0.45);
}

.table-card {
    background: var(--ea-surface);
    border-radius: var(--ea-radius-lg);
    box-shadow: var(--ea-card-shadow);
}

.table-card {
    padding: 0;
    overflow: hidden;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(18, 63, 105, 0.08);
    border-bottom: none;
}

.table tbody tr {
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.table tbody tr:hover {
    background-color: rgba(18, 63, 105, 0.05);
    transform: translateX(2px);
}

.table tbody td {
    vertical-align: middle;
}

.table-empty td {
    background: linear-gradient(135deg, rgba(18, 63, 105, 0.05), rgba(31, 156, 122, 0.05));
}
