/* ============================================================
   Medewerker Dashboard – DBM Donkere Glasstijl
============================================================ */

/* ============================================================
   GRID LAYOUT
============================================================ */

.dashboard-main {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
    height: calc(100vh - 120px);
    padding: 25px;
    color: #fff;
}

/* ============================================================
   SIDEBAR
============================================================ */

.dashboard-sidebar {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 18px;
    overflow-y: auto;
    box-shadow: 0 0 12px rgba(0,0,0,0.35);
}

.medewerker-list {
    margin-top: 12px;
}

.medewerker-item {
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.15);
    transition: 0.2s;
    font-size: 16px;
    color: #fff;
    text-shadow: 0 0 4px rgba(0,0,0,0.6);
}

.medewerker-item:hover {
    background: rgba(255,255,255,0.25);
}

.medewerker-item.active {
    background: rgba(78,163,255,0.35);
    border: 1px solid #7EC8FF;
    text-shadow: none;
}

/* ============================================================
   DETAILPANEEL
============================================================ */

.dashboard-detail {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px;
    overflow-y: auto;
    box-shadow: 0 0 12px rgba(0,0,0,0.35);
}

.detail-title {
    margin-bottom: 25px;
    font-size: 32px;
    font-weight: 600;
    color: #7EC8FF;
    text-shadow: 0 0 6px rgba(0,0,0,0.6);
}

/* ============================================================
   VERZUIM PANEL
============================================================ */
/* Verzuim grid: 4 tegels naast elkaar */
.verzuim-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* Verzuim tegels */
.verzuim-item {
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.22);
}

/* Brede verzuimpercentage tegel */
.verzuim-percentage-wide {
    grid-column: 1 / -1; /* neemt volledige breedte */
    margin-top: 20px;
    padding: 25px;
    background: rgba(255,255,255,0.20);
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.25);
}

.verzuim-item {
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.22);
}

.verzuim-item h3 {
    margin: 0;
    font-size: 17px;
    color: #7EC8FF;
}

.verzuim-item p {
    margin: 8px 0 0;
    font-size: 22px;
    font-weight: bold;
}

#verzuimPercentageBox {
    margin-top: 25px;
    padding: 25px;
    background: rgba(255,255,255,0.20);
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.25);
}

#verzuimPercentageBox p {
    font-size: 40px;
    font-weight: bold;
}

/* ============================================================
   CATEGORIE GRID – 4 tegels naast elkaar
============================================================ */

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 naast elkaar */
    gap: 20px;
}

.counter-box {
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    transition: 0.15s;
    border: 1px solid rgba(255,255,255,0.22);
}

.counter-box:hover {
    background: rgba(255,255,255,0.25);
}

.counter-box.active {
    background: rgba(78,163,255,0.35);
    border: 1px solid #7EC8FF;
}

.counter-box h3 {
    margin: 0;
    font-size: 17px;
    color: #7EC8FF;
}

.counter-box p {
    margin: 8px 0 0;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}


/* ============================================================
   MELDINGEN TABEL
============================================================ */

.dbm-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    color: #fff;
}

.dbm-table th {
    background: rgba(255,255,255,0.20);
    padding: 10px;
    text-align: left;
    font-weight: 600;
    color: #fff;
    position: sticky;
    top: 0;
    backdrop-filter: blur(8px);
}

.dbm-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 20px;
}

.dbm-table tr:hover {
    background: rgba(255,255,255,0.10);
}
