/* ── Data Table ── */

.c-data-table__wrap {
    overflow: hidden;
    background: #ffffff;
}

.c-data-table__flex {
    display: flex;
}

/* Default: columns share space equally unless overridden */
.c-data-table__flex > * {
    flex: 1 1 0%;
    min-width: 0;
}

/* ── Header ── */

.c-data-table__head {
    background: var(--e-global-color-primary);
    border-radius: 60px;
}

.c-data-table__th {
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 700;
    color: #ffffff;
}

/* ── Body ── */

.c-data-table__cell {
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.3;
}

.c-data-table__row--alt {
    background: #F8F7F9;
}

/* ── Footer ── */

.c-data-table__footer {
    font-size: 1rem;
    line-height: 1.5;
}

/* ── Mobile ── */

@media (max-width: 992px) {
    .c-data-table__cell{
        font-size: 16px;
    }
}
@media (max-width: 767px) {
    .c-data-table__wrap{
        background-color: transparent;
        border: 0 none;
    }
    .c-data-table__flex {
        flex-direction: column;
    }
    .c-data-table__flex > * {
        flex: none;
        width: 100% !important;
    }
    .c-data-table__head {
        display: none;
    }
    .c-data-table__row {
        padding: 16px;
        border-radius: 1rem;
        margin-bottom: 8px;
        background: #F8F7F9;
    }
    .c-data-table__row:nth-child(odd) {
        background: #F8F7F9;
    }
    .c-data-table__cell {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 12px;
        text-align: right;
    }
    .c-data-table__cell + .c-data-table__cell {
        margin-top: 8px;
        padding-top: 8px;
    }
    .c-data-table__cell::before {
        content: attr(data-label);
        font-size: 1rem;
        line-height: 1.5;
        font-weight: 700;
        flex-shrink: 0;
    }
}
