.dtable-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: clamp(16px, 2vw, 40px);
    margin-bottom: clamp(18px, 3.2vw, 60px);
}

.dtable-legend {
    font-size: var(--df-text-fs-18);
    line-height: var(--lh-normal);
    color: var(--neutral-141414);
}

    .dtable-legend > p {
        margin: 0 0 clamp(20px, 1.7vw, 32px);
    }
    .dtable-legend .dtable-legend__note {
        margin: clamp(20px, 1.7vw, 32px) 0 0 0;
    }

    .dtable-legend ul {
        margin: 0;
        padding-left: 1.2em;
        list-style: disc;
        display: grid;
        gap: 0;
    }

    .dtable-legend strong {
        font-weight: var(--fw-bold);
    }

.dtable-scroll {
    overflow-x: auto;
    border: 1px solid var(--neutral-E0E0E0);
    border-radius: 15px;
    -webkit-overflow-scrolling: touch;
}

.dtable {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: var(--df-text-fs-14);
}

    .dtable th,
    .dtable td {
        padding: clamp(11px, 1vw, 14px) clamp(15px, 1.1vw, 20px);
        text-align: center;
        vertical-align: middle;
    }

    .dtable thead th {
        background: var(--neutral-3D3D3D);
        color: var(--neutral-FFFFFF);
        font-weight: var(--fw-semibold);
        letter-spacing: var(--ls-wide);
        text-transform: uppercase;
        white-space: nowrap;
    }

    .dtable tbody td {
        color: var(--neutral-1A1818);
        white-space: nowrap;
        border-top: 1px solid var(--neutral-E0E0E0);
        border-right: 1px solid var(--neutral-E0E0E0);
    }
    .dtable th{
        border-right: 1px solid var(--neutral-E0E0E0);
    }

    .dtable tbody tr:nth-child(even) td {
        background: var(--neutral-F5F5F5);
    }

    .dtable.first-fixed th:first-child,
    .dtable.first-fixed td:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
    }
    .dtable th:first-child,
    .dtable td:first-child {
        text-align: left;
    }

    .dtable tbody td:first-child {
        font-weight: var(--fw-semibold);
        background: var(--neutral-FFFFFF);
    }

    .dtable tbody tr:nth-child(even) td:first-child {
        background: var(--neutral-F5F5F5);
    }

    .dtable thead th:first-child {
        background: var(--neutral-3D3D3D);
    }

    .dtable tbody tr.is-hidden {
        display: none;
    }

.dtable-empty {
    margin: clamp(16px, 2vw, 28px) 0 0;
    padding: clamp(18px, 2vw, 28px);
    text-align: center;
    font-size: var(--df-text-fs-16);
    color: var(--neutral-858585);
}

    .dtable-empty.is-hidden {
        display: none;
    }

/* Sekmeler (tab varyantı — parent tenant) */
.dtable-tablist {
    margin-bottom: clamp(20px, 2.4vw, 36px);
}

[data-tab-panel].is-hidden {
    display: none;
}

@media (max-width: 767.98px) {
    .dtable-search {
        flex-basis: 100%;
        max-width: none;
    }
}
