/* components/data-table.css */
.orders-table-container {
    background-color: var(--myceo-surface-1);
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    overflow-x: auto;
}

.orders-table-container h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

thead {
    background-color: var(--myceo-surface-1);
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--myceo-border-mid);
}

th {
    color: var(--primary-color);
    font-weight: 600;
}

tr:hover {
    background-color: var(--myceo-surface-1);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-completed {
    background-color: rgba(5, 150, 105, 0.12);
    color: var(--myceo-status-good);
}
/* ── Mobile (VERITAS-102 phase 2) ──────────────────────────────────
   Wide tables keep their column shape and scroll INSIDE the container
   (which already has overflow-x: auto); the page itself never scrolls
   sideways. */
.orders-table-container { -webkit-overflow-scrolling: touch; }

@media (max-width: 768px) {
    .orders-table-container { padding: 1rem; }
    .orders-table-container table { min-width: 640px; }
    th, td { padding: 0.6rem 0.5rem; font-size: 0.85rem; }
}
