/* Base Container Styling */
.members-container-cd2570b0 {
    margin: 20px auto;
    width: 100%;
    font-family: inherit;
}

/* Controls (Search & Filter) */
.members-controls-cd2570b0 {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.members-search-box-cd2570b0 input,
.members-filter-box-cd2570b0 select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    min-width: 200px;
    background-color: #fff;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
}

.members-search-box-cd2570b0 input:focus,
.members-filter-box-cd2570b0 select:focus {
    border-color: #35495e;
}

/* Table Wrapper for Horizontal Scrolling */
.members-table-wrapper-cd2570b0 {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

/* Standard Table Styles */
.members-table-cd2570b0 {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    table-layout: fixed;
}

.members-table-cd2570b0 th,
.members-table-cd2570b0 td {
    padding: 15px 12px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; /* Fallback but columns can override this to normal wrap */
}

.members-table-cd2570b0 thead th {
    background-color: #f7f9fa;
    color: #333;
    font-weight: 600;
}

/* Highlight hover */
.members-table-cd2570b0 tbody tr {
    transition: background-color 0.15s ease-in-out;
}

/* Image Thumbnails */
.member-thumb-cd2570b0 {
    object-fit: cover;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.member-thumb-cd2570b0:hover {
    transform: scale(1.08);
}

/* Button Visit Site */
.btn-visit-cd2570b0 {
    display: inline-block;
    padding: 8px 14px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    transition: background-color 0.2s;
    text-align: center;
}

.btn-visit-cd2570b0:hover {
    background-color: #005177;
    color: #fff;
}

/* Pagination container */
.members-pagination-cd2570b0 {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.members-pagination-cd2570b0 button {
    padding: 8px 14px;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.members-pagination-cd2570b0 button:hover:not(:disabled) {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.members-pagination-cd2570b0 button.active {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.members-pagination-cd2570b0 button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Custom Built-in Lightbox */
.member-lightbox-overlay-cd2570b0 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-lightbox-content-cd2570b0 {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.member-lightbox-img-cd2570b0 {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.member-lightbox-close-cd2570b0 {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

/* Mobile Responsive Adjustments */
@media screen and (max-width: 768px) {
    .members-controls-cd2570b0 {
        flex-direction: column;
        align-items: stretch;
    }
    .members-search-box-cd2570b0 input,
    .members-filter-box-cd2570b0 select {
        width: 100%;
    }
    .hide-on-mobile {
        display: none !important;
    }
}
