/* Modern Anggota Page Design */

/* Fix Navbar on Anggota Page (make it readable) */
body.page-anggota .main-nav {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding-top: 10px;
    padding-bottom: 10px;
}

body.page-anggota .main-nav .navbar-nav>li>a {
    color: #fff !important;
}

/* Page Hero Adjustments */
body.page-anggota .hero-slider-container {
    height: 40vh !important;
    min-height: 300px !important;
    margin-top: 80px; /* Offset fixed navbar */
}

/* Search Bar Modernization */
.box-filter {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    padding: 25px;
    margin-bottom: 40px;
    border: 1px solid #eef2f7;
}

.box-filter select, .box-filter input {
    border: 2px solid #eef2f7;
    border-radius: 8px;
    height: 45px;
    padding: 0 15px;
    transition: all 0.3s;
}

.box-filter select:focus, .box-filter input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
    outline: none;
}

/* Member Cards Grid */
.list-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-members .member {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f4f8;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    height: 100%;
}

.list-members .member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.list-members .member .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.list-members .member .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-members .member .info {
    text-align: center;
    width: 100%;
}

.list-members .member .name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.list-members .member table {
    width: 100%;
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 15px;
}

.list-members .member table td {
    padding: 4px 0;
    vertical-align: top;
}

.list-members .member table td:first-child {
    width: 25px;
    color: #3498db;
    text-align: center;
}

/* Pagination */
.list-pagination {
    margin-top: 40px;
}

.list-pagination ul li a {
    border-radius: 8px !important;
    margin: 0 3px;
    border: none;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    color: #2c3e50;
    font-weight: 600;
}

.list-pagination ul li.active a {
    background: #3498db;
    color: #fff;
    box-shadow: 0 4px 10px rgba(52,152,219,0.3);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    body.page-anggota .hero-slider-container {
        height: 30vh !important;
        min-height: 250px !important;
    }
    
    .box-filter.two-column .filter {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .list-members {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}
