/* ==========================================================================
   MEMBER LIST STYLES (member.css)
   ========================================================================== */

/* Header Area */
.page-header {
    background: linear-gradient(rgba(10, 61, 98, 0.9), rgba(10, 61, 98, 0.9)), url('../img/slider1.jpg');
    background-size: cover; 
    background-position: center;
    color: white; 
    text-align: center; 
    padding: 80px 20px 60px; /* थोडा जास्त पॅडिंग दिला आहे */
}

.underline { 
    width: 80px; 
    height: 4px; 
    background: var(--accent-gold); 
    margin: 15px auto; 
}

/* Member List Section */
.container { 
    max-width: 1200px; 
    margin: -40px auto 50px; 
    padding: 0 20px; 
    position: relative;
    z-index: 10;
}

.member-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Filter Controls */
.controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.district-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tab-btn {
    padding: 8px 20px;
    border: 1px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary-blue);
    color: white;
}

.search-box {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    outline: none;
}

.search-box input:focus {
    border-color: var(--primary-blue);
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* Table Style */
.table-responsive { 
    overflow-x: auto; 
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

table th {
    background-color: #f8f9fa;
    color: var(--primary-blue);
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid #eee;
    white-space: nowrap;
}

table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    vertical-align: middle;
}

table tr:hover {
    background-color: #fcfcfc;
}

.district-badge {
    background: #e1f5fe;
    color: #0288d1;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    display: inline-block;
}

/* Responsive Table Adjustment */
@media (max-width: 768px) {
    .tab-btn { font-size: 0.8rem; padding: 6px 15px; }
    table th, table td { padding: 10px; font-size: 0.85rem; }
    .page-header h2 { font-size: 1.8rem; }
}