.table-responsive {
    overflow-x: auto; /* Enable horizontal scrolling */
}

@media (max-width: 576px) {
    .table th, .table td {
        white-space: nowrap; /* Prevent text wrapping in cells */
    }
}

table {
    border-collapse: collapse;
    margin: 0;
    width: 100%;
    box-shadow: 0 0 5px rgba(0, 0, 0, .25);
}

table tr {
    padding: .45em;
}

thead tr {
    background: linear-gradient(90deg, rgba(64, 92, 142, 1) 0%, rgba(34, 44, 97, 1) 50%, rgba(64, 92, 142, 1) 100%) !important;
}

table th,
table td {
    font-size: 1em;
    padding: 1em;
    text-align: center;
}

thead th {
    background: transparent !important;
    color: white !important;
    font-size: 1.15em;
}

@media(max-width: 620px) {
    table thead tr {
        display: none;
    }

    table tr {
        display: block;
    }

    table th, table td {
        padding: .5em;
    }

    table td {
        text-align: right;
        display: block;
        font-size: 1em;
    }

    table tbody td::before {
        content: attr(data-title) ": ";
        float: left;
    }
}
