/* Customized Table Styles -- Customized Table Styles -- Customized Table Styles   */
/* Customized Table Styles -- Customized Table Styles -- Customized Table Styles   */
.sh-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.sh-table th, .sh-table td {
    padding: 12px;
    border: 1px solid #e2e8f0;
}

.sh-table th {
    background-color: #f0f4f8;
    color: #2d3748;
    font-size: 16px;
}

.sh-table td {
    font-size: 14px;
    color: #4a5568;
}

@media (max-width: 768px) {
    .sh-table th, .sh-table td {
        padding: 8px;
        font-size: 12px;
    }
}

/* Responsive Table/Card Styles */
.sh-card-row {
    display: flex;
    flex-wrap: wrap;
}

.sh-card {
    flex: 1 1 calc(33.333% - 16px); /* 3 cards per row, with spacing */
    margin: 8px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 16px;
    box-sizing: border-box;
}

.sh-card-content {
    padding: 16px;
}

.sh-table {
    display: none; /* Hide table by default */
}

@media (max-width: 768px) {
    .sh-card {
        flex: 1 1 100%; /* 1 card per row on small screens */
    }

    .sh-table {
        display: table; /* Display table on larger screens */
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 24px;
    }

    .sh-table th, .sh-table td {
        padding: 12px;
        border: 1px solid #e2e8f0;
    }

    .sh-table th {
        background-color: #f0f4f8;
        color: #2d3748;
        font-size: 16px;
    }

    .sh-table td {
        font-size: 14px;
        color: #4a5568;
    }

    .sh-table td:nth-child(1), .sh-table th:nth-child(1),
    .sh-table td:nth-child(5), .sh-table th:nth-child(5),
    .sh-table td:nth-child(6), .sh-table th:nth-child(6),
    .sh-table td:nth-child(7), .sh-table th:nth-child(7) {
        display: none; /* Hide unnecessary columns on small screens */
    }
}
