/* ============================================================
   MEMBERS PAGE STYLES - Üyeler Sayfası
   ============================================================ */

/* ========== LAYOUT ========== */
.members-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.members-main {
    flex: 1;
    min-width: 0;
    order: 1;
}

.members-sidebar {
    width: 340px;
    flex-shrink: 0;
    order: 2;
}

/* ========== HERO ========== */
.members-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 35px 30px;
    text-align: center;
    color: white;
    margin-bottom: 25px;
}

.members-hero-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.members-hero-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.members-hero-subtitle {
    font-size: 15px;
    opacity: 0.9;
    margin: 0 0 20px 0;
}

.members-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
}

.hero-stat-label {
    font-size: 12px;
    opacity: 0.8;
}

/* ========== FİLTRELER ========== */
.members-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    background: white;
    padding: 6px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-btn {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 80px;
}

.filter-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

/* ========== PREMIUM SİSTEM PASİF KART ========== */
.premium-system-off-card {
    background: linear-gradient(135deg, #e8f0fe, #d4e4fc);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #667eea;
}

.premium-system-off-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.premium-system-off-content strong {
    display: block;
    color: #333;
    font-size: 14px;
}

.premium-system-off-content p {
    margin: 3px 0 0;
    font-size: 12px;
    color: #666;
}

/* ========== ÜYE LİSTESİ ========== */
.members-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.member-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 18px 22px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.member-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* ========== AVATAR ========== */
.member-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.member-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.premium-crown {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: #333;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border: 2px solid white;
}

/* ========== ÜYE BİLGİ ========== */
.member-info {
    flex: 1;
    min-width: 0;
}

.member-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.member-name:hover {
    color: #667eea;
}

.premium-icon {
    color: #ffd700;
    font-size: 13px;
}

.member-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.member-joined {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ========== İSTATİSTİKLER ========== */
.member-stats {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.member-stat {
    text-align: center;
}

.member-stat i {
    display: block;
    font-size: 16px;
    color: #667eea;
    margin-bottom: 2px;
}

.member-stat span {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.member-stat small {
    display: block;
    font-size: 10px;
    color: #999;
}

/* ========== PROFİL BUTON ========== */
.member-profile-btn {
    padding: 8px 18px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.member-profile-btn:hover {
    transform: translateX(3px);
    box-shadow: 0 3px 15px rgba(102,126,234,0.3);
    color: white;
}

/* ========== BOŞ DURUM ========== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 14px;
}

.empty-state i {
    font-size: 48px;
    color: #ddd;
    display: block;
    margin-bottom: 15px;
}

.empty-state p {
    color: #999;
    margin: 0;
}

/* ========== BANLI KULLANICI ========== */
.username-banned-members {
    text-decoration: line-through !important;
    text-decoration-thickness: 2px !important;
    text-decoration-color: #e74c3c !important;
    opacity: 0.7 !important;
    color: #e74c3c !important;
}

.username-banned-members:hover {
    opacity: 0.9 !important;
}

.ban-icon {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    border: 2px solid white;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 992px) {
    .members-layout {
        flex-direction: column;
    }
    
    .members-main {
        order: 1;
        width: 100%;
    }
    
    .members-sidebar {
        order: 2;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .members-hero {
        padding: 25px 20px;
    }
    
    .members-hero-title {
        font-size: 24px;
    }
    
    .members-hero-stats {
        gap: 20px;
    }
    
    .hero-stat-value {
        font-size: 22px;
    }
    
    .members-filters {
        flex-wrap: wrap;
        padding: 4px;
    }
    
    .filter-btn {
        font-size: 12px;
        padding: 8px 12px;
        min-width: 60px;
        flex: 1 1 auto;
    }
    
    .member-card {
        flex-wrap: wrap;
        padding: 15px;
        gap: 12px;
    }
    
    .member-avatar-img {
        width: 50px;
        height: 50px;
    }
    
    .member-name {
        font-size: 14px;
    }
    
    .member-stats {
        gap: 15px;
        width: 100%;
        justify-content: space-around;
    }
    
    .member-stat span {
        font-size: 16px;
    }
    
    .member-profile-btn {
        width: 100%;
        justify-content: center;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .members-hero {
        padding: 20px 15px;
    }
    
    .members-hero-title {
        font-size: 20px;
    }
    
    .members-hero-icon {
        font-size: 36px;
    }
    
    .members-filters {
        flex-direction: column;
        gap: 4px;
        padding: 4px;
    }
    
    .filter-btn {
        flex: 1;
        justify-content: center;
        padding: 10px;
    }
    
    .member-card {
        padding: 12px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .member-info {
        text-align: center;
    }
    
    .member-name {
        justify-content: center;
    }
    
    .member-meta {
        justify-content: center;
    }
    
    .member-stats {
        justify-content: center;
    }
    
    .hero-stat-value {
        font-size: 18px;
    }
    
    .premium-system-off-card {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
}