.am-member-accordion {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 10px 0;
}

.am-accordion-header {
    padding: 15px;
    background: #f5f5f5;
    cursor: pointer;
}

.am-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.am-title-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.am-toggle-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.am-accordion-header.active .am-toggle-icon {
    transform: rotate(45deg);
}

.am-accordion-title {
    font-weight: bold;
    white-space: nowrap;
}

.am-accordion-header.active .am-accordion-title {
    display: none;
}

.am-search-container {
    flex: 1;
    max-width: 300px;
    display: none;
}

.am-accordion-header.active .am-search-container {
    display: block;
}

.am-member-search {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.am-accordion-content {
    display: none;
    padding: 15px;
    border-top: 1px solid #ddd;
}

.am-members-list {
    margin-bottom: 15px;
}

.am-member-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.am-member-item:hover {
    background: #f9f9f9;
}

.am-member-name {
    font-weight: 500;
}

.am-bottom-action {
    text-align: center;
    padding: 10px;
    background: #f5f5f5;
    cursor: pointer;
    border-radius: 4px;
}

.am-bottom-action:hover {
    background: #e9e9e9;
}
