/* Customized Table Styles -- Customized Table Styles -- Customized Table Styles */
.adm-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.adm-table th, .adm-table td {
    padding: 12px;
    border: 1px solid #e2e8f0;
}

.adm-table th {
    background-color: #f0f4f8;
    color: #2d3748;
    font-size: 16px;
}

.adm-table td {
    font-size: 14px;
    color: #4a5568;
}

/* Responsive Table/Card Styles */
.sh-card-row {
    display: none; /* Hide cards by default */
}

.adm-table {
    display: table; /* Show table by default */
}

@media (max-width: 768px) {
    .sh-card-row {
        display: flex; /* Show cards on small screens */
        flex-wrap: wrap;
    }

    .sh-card {
        flex: 1 1 100%; /* 1 card per row on small screens */
        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;
    }

    .adm-table {
        display: none; /* Hide table on small screens */
    }
}





/* Customized Table Styles -- Testimonials */
.testimonial-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    display: table; /* Ensure table is displayed by default */
}

.testimonial-table th, .testimonial-table td {
    padding: 12px;
    border: 1px solid #e2e8f0;
}

.testimonial-table th {
    background-color: #f0f4f8;
    color: #2d3748;
    font-size: 16px;
}

.testimonial-table td {
    font-size: 14px;
    color: #4a5568;
}

@media (max-width: 768px) {
    .testimonial-table th, .testimonial-table td {
        padding: 8px;
        font-size: 12px;
    }

    /* Show only specific columns on small screens */
    .testimonial-table td:nth-child(1), .testimonial-table th:nth-child(1), /* User */
    .testimonial-table td:nth-child(2), .testimonial-table th:nth-child(2), /* Comment */
    .testimonial-table td:nth-child(4), .testimonial-table th:nth-child(4)  /* Actions */
    {
        display: table-cell; /* Ensure these columns are displayed */
    }

    .testimonial-table td:nth-child(3), .testimonial-table th:nth-child(3)  /* Image */
    {
        display: none; /* Hide the Image column */
    }
}
