/* ═══════════════════════════════════════════
   Gedeeld
═══════════════════════════════════════════ */

.mptt-transposed-wrapper {
    transition: opacity 0.1s ease;
}

.mptt-transposed-wrapper select {
    width: 100%;
    display: block;
    margin-bottom: 12px;
}

/* ═══════════════════════════════════════════
   Desktop — tabel
═══════════════════════════════════════════ */

@media (min-width: 768px) {

    .text:has(.mptt-transposed-wrapper) {
        width: 100% !important;
    }

    .mptt-transposed-wrapper {
        width: 100%;
        overflow-x: auto;
    }

    .mptt-transposed-table {
        border-collapse: collapse;
        width: 100%;
        font-size: 15px;
        table-layout: fixed;
    }

    .mptt-transposed-table thead th {
        background: #f5f0e1;
        border: 1px solid #ddd;
        padding: 10px 8px;
        text-align: left;
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
        width: 100px;
        min-width: 100px;
    }

    .mptt-transposed-table thead th:first-child {
        width: 160px;
        min-width: 160px;
    }

    .mptt-transposed-table thead th .th-last-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mptt-transposed-table thead th .th-time-end {
        font-weight: 400;
        opacity: 0.6;
        font-size: 11px;
        text-align: right;
    }

    .mptt-transposed-table .mptt-loc-label {
        background: #f5f0e1;
        border: 1px solid #ddd;
        padding: 10px 14px;
        font-weight: 600;
        text-align: left;
        vertical-align: middle;
        width: 160px;
        min-width: 160px;
    }

    .mptt-transposed-table td {
        border: 1px solid #e0dcd0;
        padding: 0;
        height: 80px;
        vertical-align: top;
    }

    .mptt-event-cell {
        min-height: 80px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 10px;
        text-align: center;
        box-sizing: border-box;
        gap: 4px;
    }

    .mptt-event-cell .ev-title {
        font-size: 13px;
        font-weight: 600;
        line-height: 1.3;
    }

    .mptt-event-cell .ev-desc {
        font-size: 12px;
        line-height: 1.2;
        opacity: 0.85;
    }

}

/* ═══════════════════════════════════════════
   Mobiel — lijst
═══════════════════════════════════════════ */

@media (max-width: 767px) {

    .mptt-list-location {
        margin-bottom: 24px;
    }

    .mptt-list-heading {
        margin: 0 0 10px;
        padding-bottom: 6px;
        font-size: 16px;
        font-weight: 700;
        border-bottom: 2px solid #ddd;
    }

    .mptt-list-card {
        display: flex;
        flex-direction: column;
        gap: 3px;
        margin-bottom: 8px;
        padding: 10px 14px;
        border-left: 4px solid;
        border-radius: 0 6px 6px 0;
        background: #fff;
    }

    .mptt-list-card-title {
        font-size: 14px;
        font-weight: 600;
    }

    .mptt-list-card-time {
        font-size: 12px;
        opacity: 0.75;
    }

    .mptt-list-card-desc {
        font-size: 12px;
        opacity: 0.85;
    }

}