/* ============================================================
   DBM – 2027.CSS (Donkere Huisstijl)
   Dashboard layout & component styling
============================================================ */

/* Wrapper */
.dashboard-wrapper {
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px 30px;
    color: var(--dbm-text-light);
}

/* Titels */
h1, h2 {
    color: var(--dbm-light-grey);
    text-shadow: 0 0 6px rgba(0,0,0,0.6);
    margin-bottom: 20px;
}

/* Status */
.loading {
    opacity: 0.7;
    margin-bottom: 20px;
}

.error {
    color: #ff6b6b;
    font-weight: bold;
}

/* ============================================================
   WEEK CARDS (Donkere Glasstijl)
============================================================ */

.weeks-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.week-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 18px;
    box-shadow: var(--dbm-shadow);
    color: var(--dbm-text-light);
    transition: 0.2s;
}

.week-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.week-card.current {
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.12);
}

/* Titel in kaart */
.week-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dbm-light-grey);
    margin-bottom: 6px;
}

.week-label {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 14px;
}

/* KPI regels */
.kpi-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin-bottom: 6px;
}

.neg {
    color: #ff6b6b;
}

.pos {
    color: #7dff9c;
}

/* ============================================================
   TABEL (Donkere Glasstijl)
============================================================ */

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--dbm-shadow);
    color: var(--dbm-text-light);
    margin-bottom: 40px;
}

th {
    background: rgba(255,255,255,0.12);
    padding: 12px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    color: var(--dbm-white);
}

td {
    padding: 10px 12px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    color: var(--dbm-light-grey);
    white-space: normal;
    word-break: break-word;
}

td:first-child,
th:first-child {
    text-align: left;
}

/* Laatste rij zonder border */
tr:last-child td {
    border-bottom: none;
}
