/* ===== KULLANICI PANELİ ===== */

.user-item {
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.user-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.user-item-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.user-item-content {
    flex: 1;
    min-width: 0;
}

.user-item-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.user-item-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.role-badge {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
}

.role-badge.admin {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.role-badge.moderator {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.user-item-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.online {
    background: #43B581;
    box-shadow: 0 0 6px rgba(67, 181, 129, 0.6);
}

.status-dot.away {
    background: #FAA61A;
}

.status-dot.dnd {
    background: #F04747;
}

.status-dot.offline {
    background: #72767D;
}

.status-text {
    white-space: nowrap;
}

.last-seen {
    margin-left: auto;
    font-size: 10px;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* ===== BÖLÜM BAŞLIKLARI ===== */

.members-section-header {
    padding: 10px 12px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.members-section-header:first-child {
    margin-top: 0;
}

/* ===== KULLANICI PROFİL MODALı ===== */

#userProfileModal .modal-content {
    max-width: 350px;
}

.profile-content {
    padding: 20px;
    text-align: center;
}

.profile-avatar {
    margin-bottom: 20px;
}

.profile-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: left;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
}

.info-row .value {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
    font-size: 14px;
}

.profile-actions {
    display: flex;
    gap: 10px;
}

.profile-actions button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .user-item {
        padding: 8px;
    }
    
    .user-item-avatar {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .members-section-header {
        padding: 8px 10px 6px;
    }
}