/* 设置弹窗样式 */
.seting-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.seting-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.seting-modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.seting-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.seting-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.seting-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.seting-modal-close:hover {
    background: #e9ecef;
    color: #333;
}

.seting-modal-body {
    display: flex;
    height: 500px;
    padding: 0;
}

.seting-section {
    margin-bottom: 30px;
}

/* 左侧边栏样式 */
.seting-sidebar {
    width: 200px;
    background-color: #f8f9fa;
    border-right: 1px solid #e9ecef;
    padding: 20px 0;
}

.seting-menu-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.seting-menu-item:hover {
    background-color: #e9ecef;
}

.seting-menu-item.active {
    background-color: #007bff;
    color: white;
    border-left-color: #0056b3;
}

.seting-menu-item span {
    font-size: 14px;
    font-weight: 500;
}

/* 右侧内容区域样式 */
.seting-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.seting-panel {
    display: none;
}

.seting-panel.active {
    display: block;
}

.seting-panel-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.seting-content {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.seting-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: #f8f9fa;
}

.seting-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.seting-btn-cancel {
    background: #6c757d;
    color: #fff;
}

.seting-btn-cancel:hover {
    background: #5a6268;
}

.seting-btn-save {
    background: #17a2b8;
    color: #fff;
}

.seting-btn-save:hover {
    background: #138496;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .seting-modal-content {
        width: 95%;
        max-height: 90vh;
        max-width: none;
    }
    
    .seting-modal-header,
    .seting-modal-footer {
        padding: 20px;
    }
    
    .seting-modal-body {
        flex-direction: column;
        height: auto;
        max-height: 60vh;
        padding: 0;
    }
    
    .seting-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        padding: 10px 0;
    }
    
    .seting-menu-item {
        padding: 8px 15px;
        display: inline-block;
        margin-right: 10px;
        border-radius: 4px;
        border-left: none;
    }
    
    .seting-content {
        padding: 15px;
        overflow-y: auto;
    }
    
    .seting-modal-title {
        font-size: 18px;
    }
}