/* 遮罩层 */
.zb-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

/* 弹出层 */
.zb-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 100;
}

/* 显示弹出层 */
.zb-popup.show {
    transform: translateY(0);
}

/* 头部 */
.zb-popup--header {
    padding: 15px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    position: relative;
}

/* 关闭按钮 */
.zb-popup--header .close-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
}

/* 内容 */
.zb-popup--body {
    padding: 15px;
    max-height: 70vh;
    overflow-y: auto;
}

/* 列表 */
.zb-popup--list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zb-popup--item {
    padding: 12px;
    background: #f5f5f5;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
}

/* 按钮 */
.open-popup-btn {
    margin: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
}