html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
.fmls {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}
.fmls_a {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 90%;
    background: #e6f2ff; /* 淡蓝色 */
    display: flex;
    flex-direction: column;
}
.dxca_a {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 95%;
    background: #8f8e8e; /* 淡灰色 */
    z-index: 2;
}
.dxca_b {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 10px 0;
    z-index: 1;
}
/* 菜单选项样式示例 */
.menu-item {
    
    width: 100%;      /* 新增：让菜单项撑满父容器 */
    box-sizing: border-box;
    padding: 12px 20px;
    cursor: pointer;
    background: transparent;
    transition: background 0.2s;
    text-align: center; 
}
.menu-item:hover {
    background: #bddcfc;
   
}

.fmls_b {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 10%;
    right: 0;
    background: #fff;
    overflow: auto;
}
@media (max-width: 800px) {
    .fmls_a { right: 60%; }
    .fmls_b { left: 40%; }
}
@media (max-width: 500px) {
    .fmls_a { right: 40%; }
    .fmls_b { left: 60%; }
}
.add-btn {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: #409eff;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}
.add-btn:hover {
    background: #2ab5fa;
}
.dxca_b {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 5%;
    overflow-y: auto;
    z-index: 1;
    display: flex;
    flex-direction: column;
    /* align-items: center;  // 删除这行 */
    width: auto; /* 或直接删除 width 属性 */
}

/* 成员列表滚动容器滑轮样式 */
.shops-scroll-container {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 5%;
    overflow-y: auto;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

/* 滑轮样式 */
.shops-scroll-container::-webkit-scrollbar {
    width: 8px;
}

.shops-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.shops-scroll-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.shops-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Firefox滑轮样式 */
.shops-scroll-container {
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}
.modal-mask {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal {
    background: #fff;
    padding: 24px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    min-width: 300px;
    text-align: center;
}
.modal input {
    width: 80%;
    padding: 8px;
    margin-bottom: 16px;
    font-size: 16px;
}
.modal button {
    margin: 0 8px;
    padding: 6px 18px;
    font-size: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.menu-item.active {
    background: #e6f7ff;
    color: #1890ff;
    font-weight: bold;
    border-radius: 4px;
}
.modal .ok-btn { background: #409eff; color: #fff; }
.modal .ok-btn:hover { background: #66b1ff; }
.modal .cancel-btn { background: #f2f2f2; color: #333; }
.modal .cancel-btn:hover { background: #e6e6e6; }