/* Friends View */
.friends-container {
    padding: 1.5rem;
    padding-bottom: 120px;
}

.section-header {
    margin-bottom: 1.5rem;
    padding: 0;
}

.section-header h3 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-tertiary);
    letter-spacing: 0.08em;
}

.btn-icon {
    background: rgba(139, 92, 246, 0.1);
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    width: 44px;
    height: 44px;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: scale(1.05);
}

.friends-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.friend-card {
    background: var(--surface);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.friend-card:active {
    background: var(--surface-highlight);
    transform: scale(0.98);
}

.friend-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.friend-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    /* Squircle */
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.3);
}

.friend-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.btn-remove {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-tertiary);
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.2s;
}

.btn-remove:hover {
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}