 .nw-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
}

/* Base table styles */
.nw-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.nw-table th,
.nw-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    font-size: 0.95rem;
}

/* Header color using #FF5757 */
.nw-table thead th {
    background-color: #FF5757;
    color: #ffffff;
    font-weight: 600;
}

/* Zebra striping on desktop */
.nw-table tbody tr:nth-child(even) {
    background-color: #fbfbfb;
}

/* Hover state */
.nw-table tbody tr:hover {
    background-color: #f5f5f5;
}

/* Responsive: horizontal scroll on medium screens */
@media (max-width: 768px) {
    .nw-table {
        font-size: 0.9rem;
    }
}

/* Fully stacked "card" mode on very small screens */
@media (max-width: 480px) {
    .nw-table {
        display: block;
        width: 100%;
    }

    .nw-table thead {
        display: none;
    }

    .nw-table tbody {
        display: block;
    }

    .nw-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #ddd;
    }

    .nw-table tbody td {
        display: block;
        border: none;
        border-bottom: 1px solid #eee;
    }

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