/* LUXURY THEME TABLES */

.orders-table-wrapper {
    border: 1px solid #eee;
    border-radius: 8px;
    /* overflow: hidden; Removed to allow responsive scroll override */
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
}

.premium-table th {
    background: #fcfcfc;
    color: #888;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 15px 25px;
    border-bottom: 2px solid #eee;
    text-align: left;
    white-space: nowrap;
}

.premium-table td {
    padding: 20px 25px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
    color: #444;
    transition: background 0.2s;
    white-space: nowrap;
}

.premium-table tbody tr:hover td {
    background: #fdfdfd;
}

.premium-table tbody tr:last-child td {
    border-bottom: none;
}

/* Response Tables */
@media (max-width: 768px) {

    .orders-table-wrapper table.premium-table,
    .orders-table-wrapper table.premium-table tbody,
    .orders-table-wrapper table.premium-table tr,
    .orders-table-wrapper table.premium-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .orders-table-wrapper table.premium-table thead {
        display: none;
    }

    .orders-table-wrapper table.premium-table tr {
        margin-bottom: 15px;
        padding: 15px;
        border-radius: 10px;
    }

    .orders-table-wrapper table.premium-table tbody tr td {
        padding: 6px 0;
        font-size: 0.95rem;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        border: none;
    }

    .orders-table-wrapper table.premium-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #777;
        font-size: 0.9rem;
        min-width: 100px;
    }

    .orders-table-wrapper table.premium-table td:last-child {
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #f5f5f5;
        justify-content: flex-end;
    }
}