/* =========================================================================
   TABLES.CSS
   Events toolbar, styled table en status badges.
   ========================================================================= */

.events-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}
.events-count {
    font-size: 0.86rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    opacity: 0.7;
    font-weight: 500;
}
.events-count strong { color: var(--dark); font-weight: 700; }

.styled-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--paper);
    border: 1.5px solid var(--dark);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 24px 40px -22px rgba(31, 40, 32, 0.4);
}
.styled-table thead { background: var(--dark); color: var(--paper); }
.styled-table th {
    padding: 18px 24px;
    text-align: left;
    font-family: 'Clash Display', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    border-right: 1px solid rgba(250, 247, 237, 0.1);
}
.styled-table th:last-child { border-right: none; text-align: right; }
.styled-table tbody tr {
    border-bottom: 1px dashed var(--line);
    transition: background 0.2s ease;
}
.styled-table tbody tr:last-child { border-bottom: none; }
.styled-table tbody tr:hover { background: rgba(47, 79, 79, 0.03); }
.styled-table td {
    padding: 18px 24px;
    font-size: 0.95rem;
    vertical-align: middle;
    border-right: 1px dashed var(--line);
}
.styled-table td:last-child { border-right: none; text-align: right; white-space: nowrap; }

.tabel-naam-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Clash Display', sans-serif;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}
.tabel-naam-link:hover { color: var(--accent-deep); }

.cell-date { font-feature-settings: "tnum"; letter-spacing: 0.5px; color: var(--dark); font-weight: 500; }
.cell-location { opacity: 0.85; font-size: 0.92rem; }

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: 'Clash Display', sans-serif;
}
.status-badge:last-child { margin-bottom: 0; }
.status-badge--on { background: #d8e2b4; color: #4a5e1f; border: 1px solid #b8c790; }
.status-badge--off { background: rgba(47, 79, 79, 0.08); color: var(--dark); border: 1px solid rgba(47, 79, 79, 0.22); }
.status-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.action-group { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }

.empty-row td {
    text-align: center;
    padding: 60px 20px;
    color: var(--dark);
    opacity: 0.6;
    font-style: italic;
}
