﻿button {
    cursor: pointer;
    border: none;
    background: none;
}
.overlay-friend {
    position: fixed; 
    width: 100%; 
    height: 100%; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #BAAB58;
    opacity: 0.5;
}
.friends-container {
    max-width: 480px;
    width: 100%;
    margin: var(--meb-space-stack-none) auto;
    padding: 20px;
}

.header-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px 100px;
}

.logo {
    aspect-ratio: 1.89;
    width: 140px;
    box-shadow: 0 40px 40px rgba(0,0,0,.25);
}

.brand-image {
    aspect-ratio: 2.42;
    width: 126px;
}

.content-wrapper {
    margin-top: 20px;
    flex: 1;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 7px;
    background: #fff;
    box-shadow: 5px 5px 0 #3c3c3c;
    padding: 10px 17px;
    font-size: var(--text-lg);
    font-weight: var(--weight-regular);
    font-family: var(--font-accent);
    color: #3c3c3c;
}

.back-icon {
    width: 17px;
}

.search-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px;
    background: #796747;
    margin-top: 20px;
    padding: 15px 20px;
}

.search-text {
    color: #b09a73;
    font-size: var(--text-xl);
    font-weight: var(--weight-regular);
    font-family: var(--font-accent);
}

.search-icon {
    width: 20px;
}

.sort-options {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-size: var(--text-md);
    font-weight: var(--weight-regular);
    font-family: var(--font-accent);
    background: none;
}

.sort-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-icon {
    width: 24px;
}

.sort-active {
    color: #fff;
}

.sort-inactive {
    color: #796747;
}

.friends-list {
    margin-top: 20px;
    margin-bottom: -60px;
    min-height: 580px;
}

.friend-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #FFFFB2;
    border-radius: 20px;
    padding: 20px;
    margin-top: 10px;
}

.friend-info {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 240px;
    flex: 1;
}

.friend-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #796747;
}

.friend-details {
    display: flex;
    flex-direction: column;
    min-height: 42px;
}

.friend-name {
    font-size: var(--text-2xl);
    font-weight: var(--weight-regular);
    font-family: var(--font-accent);
    color: #796747;
}

.friend-id {
    font-size: var(--text-sm);
    font-weight: var(--weight-regular);
    font-family: var(--font-accent);
    color: #796747;
}

.remove-button {
    border-radius: 7px;
    background: #e74f4f;
    padding: 10px 17px;
}

.remove-icon {
    width: 17px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.add-friend-button, .pending-requests-button {
    display: flex;
    align-items: center;
    gap: 13px;
    border-radius: 9px;
    padding: 13px 22px;
    font-size: var(--text-xl);
    font-weight: var(--weight-regular);
    font-family: var(--font-accent);
    color: #796747;
}

.add-friend-button {
    background: #fff8f5;
    box-shadow: 0 0 23px rgba(0,0,0,.5);
}

.pending-requests-button {
    background: #FFFFB2;
    box-shadow: 0 0 9px rgba(0,0,0,.5);
}

.action-icon {
    width: 21px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: var(--meb-space-stack-none);
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
