.members-page {
    width: 100%;
    min-height: calc(100vh - 70px);
    padding: 5px 40px 30px;
    background: white;
}

/* 3 mục phụ */

.members-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.members-tab {
    border: none;
    background: transparent;

    padding: 10px 18px;

    font-size: 16px;
    font-weight: 500;

    cursor: pointer;
    border-radius: 10px;

    transition: 0.2s ease;
}

.members-tab:hover {
    background: #f3f3f3;
    transform: translateY(-2px);
}

.members-tab.active {
    background: #f0f0f0;
    font-weight: 700;
}

/* Thanh công cụ */

.members-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 12px;
}

.search-box {
    display: flex;
    align-items: center;

    width: 700px;
    height: 42px;

    border: 1px solid #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    height: 100%;

    border: none;
    outline: none;

    padding: 0 15px;
    font-size: 14px;
}

.search-button {
    width: 45px;
    height: 100%;

    border: none;
    background: white;

    font-size: 22px;
    cursor: pointer;
}

.manage-button {
    padding: 10px 20px;

    border: none;
    border-radius: 10px;

    background: #222;
    color: white;

    font-size: 14px;
    cursor: pointer;
}

/* Danh sách */

.members-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.member-card {
    width: 100%;
    padding: 25px;

    display: flex;
    align-items: stretch;

    border: 1px solid #e0e0e0;
    border-radius: 15px;

    background: white;
    text-align: left;

    cursor: pointer;

    transition: 0.2s ease;
}
.member-left {
    width: 25%;
    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    border-right: 2px solid #e0e0e0;
    padding-right: 20px;
}
.member-avatar-area {
    width: 100%;
    height: 60%;

    display: flex;
    align-items: center;
    justify-content: center;
}
.member-basic-info {
    width: 100%;
    height: 40%;

    padding-top: 15px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.member-details {
    flex: 1;
    min-width: 0;
    padding-left: 25px;
}

.member-bio {
    margin-top: 12px;
}
.member-divider {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin: 8px 0;
}
.member-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.member-avatar {
    width: 70px;
    height: 70px;

    padding: 4px;
    box-sizing: border-box;

    border: 3px solid #e53935;
    border-radius: 50%;

    overflow: hidden;
    flex-shrink: 0;
}

.member-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.member-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ff5353;
}

.member-info {
    font-size: 14px;
    color: #777;
}

.members-container {
    width: 75%;
    padding: 25px;
    border: 2px solid transparent;
    border-radius: 18px;
    background:
        linear-gradient(rgb(250, 168, 168), rgb(255, 202, 79)) padding-box,
        linear-gradient(90deg, white, white, white) border-box;
}

.members-header {
    display: flex;
    color: white;
    align-items: baseline;
    gap: 8px;

    margin-bottom: 20px;

    font-size: 20px;
    font-weight: 700;
}

.member-count {
    font-size: 14px;
    font-weight: 400;
    color: #faf9f9;
}

.members-content {
    display: flex;
    gap: 20px;
    color: #000000;
}

.members-filter {
    width: 25%;
    min-height: 300px;

    border: 1px solid #e0e0e0;
    border-radius: 18px;
    background: white;
}

/* FILTER */

.members-filter {
    width: 25%;
    min-height: 300px;
    padding: 20px;

    border: 1px solid #e0e0e0;
    border-radius: 18px;
    background: white;
}

.filter-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    color :rgb(0, 0, 0)
}

.filter-option {
    width: 100%;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 10px;
    padding: 0 14px;

    border: 1px solid #e0e0e0;
    border-radius: 10px;

    background: white;
    font-size: 14px;
    cursor: pointer;
}

.filter-option:hover {
    background: #f7f7f7;
}

.filter-divider {
    width: 100%;
    height: 1px;
    background: #909090;
    margin: 18px 0;
}

.filter-result {
    font-size: 14px;
    color: #777;
    margin-bottom: 15px;
}

.reset-filter {
    width: 100%;
    height: 40px;

    border: none;
    border-radius: 10px;

    background: #f1f1f1;
    color: #333;

    font-size: 14px;
    cursor: pointer;
}

.reset-filter:hover {
    background: #e5e5e5;
}

.filter-dropdown {
    position: relative;
    margin-bottom: 10px;
}

.filter-menu {
    display: none;

    position: absolute;
    top: 48px;
    left: 0;
    width: 100%;

    padding: 8px;

    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    z-index: 10;
}

.filter-menu.show {
    display: block;
}

.filter-menu label {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 9px 8px;

    border-radius: 7px;
    cursor: pointer;
    font-size: 14px;
}

.filter-menu label:hover {
    background: #f5f5f5;
}

.filter-menu input {
    cursor: pointer;
}