/* === Listing User Table Styles === */

.listing-user-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    display: table;
}

.listing-user-table th,
.listing-user-table td {
    padding: 12px;
    border: 1px solid #e2e8f0;
}

.listing-user-table th {
    background-color: #f0f4f8;
    color: #2d3748;
    font-size: 16px;
}

.listing-user-table td {
    font-size: 14px;
    color: #4a5568;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .listing-user-table th,
    .listing-user-table td {
        padding: 8px;
        font-size: 12px;
    }

    /* Hide specific columns on small screens */
    .listing-user-table td:nth-child(3),
    .listing-user-table th:nth-child(3), /* Company */
    .listing-user-table td:nth-child(6),
    .listing-user-table th:nth-child(4)  /* About */
    {
        display: none;
    }

    /* Ensure these stay visible */
    .listing-user-table td:nth-child(1),
    .listing-user-table th:nth-child(1),
    .listing-user-table td:nth-child(2),
    .listing-user-table th:nth-child(2),
    .listing-user-table td:nth-child(5),
    .listing-user-table th:nth-child(5) {
        display: table-cell;
    }
}

/* === Listing Page Image Styles === */

.table-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .table-image {
        width: 60px;
        height: 60px;
    }
}

/* Center-align image columns */
.listing-user-table td:first-child,
.listing-user-table td:nth-child(2) {
    text-align: center;
    vertical-align: middle;
}

/* === Listing Page Responsive Image Helpers === */

.listing-image-responsive {
    width: 50%;
    height: auto;
    min-width: 50px;
    min-height: 50px;
    max-width: 100%;
    max-height: 150px;
}

.listing-admenu-image {
    width: 50%;
    height: auto;
    min-width: 50px;
    min-height: 50px;
    max-width: 100%;
    max-height: 150px;
}

.listing-owner-image {
    width: 60%;
    height: auto;
    border-radius: 8px;
    min-width: 100px;
    min-height: 100px;
    max-width: 100%;
    max-height: 250px;
}


    /* Custom image styling specific to this page */
    .table-image {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 6px;
        display: block;
        margin: 0 auto;
    }

    /* Optional: center align the images' table columns */
    .menu-table td:first-child,
    .menu-table td:nth-child(2) {
        text-align: center;
        vertical-align: middle;
    }

    @media (max-width: 768px) {
        .table-image {
            width: 60px;
            height: 60px;
        }
    }
