/* ======================================================
   Dashboard-specifieke styles
   Gebruikt general.css als basis
====================================================== */

/* ===============================
   Filters & actielinks
================================= */

.filters a {
    padding: 6px 10px;
    margin-right: 6px;
    text-decoration: none;
    border: 1px solid #ccc;
    background: #ffffff;
    color: var(--tud-text);
    border-radius: 4px;
}

.filters a:hover {
    background: var(--tud-blue);
    color: #ffffff;
}

.filters a.active {
    background: var(--tud-blue);
    color: #ffffff;
    border-color: var(--tud-blue);
}


/* ===============================
   Tabellen
================================= */

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    background: #ffffff;
}

th,
td {
    border: 1px solid #ccc;
    padding: 6px;
    vertical-align: top;
    font-size: 14px;
}

th {
    background: #eeeeee;
    font-weight: 600;
}


/* ===============================
   Locaties / tekstblokken
================================= */

.locations,
.location div,
.logistics-block {
    white-space: pre-line;
    margin-bottom: 4px;
}


/* ===============================
   Statuskleuren (dashboard)
================================= */

.status-OK {
    background: #d4edda;
}

.status-OVER_CAPACITY {
    background: #fff3cd;
}

.status-NO_SLOT {
    background: #f8d7da;
}


/* ===============================
   Recorder-assignments
================================= */

.manual {
    background: #eef6ff;
}

.auto {
    background: #f0f8ff;
}

.none,
.no-recorder {
    background: #ffe5e5;
}


/* ===============================
   Events
================================= */

tr.event {
    background: #e6f3ff;
}


/* ===============================
   Dashboard buttons
================================= */

button {
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #ffffff;
    cursor: pointer;
}

button:hover {
    background: var(--tud-blue);
    color: #ffffff;
}


/* ===============================
   Utilities
================================= */

.hidden {
    display: none;
}

.action-buttons form {
    margin-right: 10px;
}

.action-message {
    margin: 10px 0;
    font-weight: bold;
}