.btn-group, .action-btn-group{margin:0px;}

/* 禁用状态按钮样式 */
.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn:disabled:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
.custom-tab-buttons {
    display: flex;
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.custom-tab-button {
    display: flex;
    align-items: center;
    padding: 0.15rem 1.25rem;
    border: none;
    background: transparent;
    color: #6c757d;
    font-weight: 500;
    cursor: pointer;
	font-size:0.95rem;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px 8px 0 0;
    outline: none;
    user-select: none;
}

.custom-tab-button:hover {
    color: var(--primary-color);
    background-color: rgba(74, 108, 247, 0.05);
    transform: translateY(-1px);
}

.custom-tab-button.active {
    color: var(--primary-color);
	font-weight: 600;
    transform: translateY(0);
}

.custom-tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px 3px 0 0;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
        left: 50%;
    }
    to {
        width: 100%;
        left: 0;
    }
}

.custom-tab-content {
}

.custom-tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

.custom-tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 修复可能的黑边问题 */
.custom-tab-content {
    position: relative;
    overflow: hidden;
}

.custom-tab-pane {
    position: relative;
    z-index: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .custom-tab-buttons {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .custom-tab-buttons::-webkit-scrollbar {
        display: none;
    }
    
    .custom-tab-button {
        flex: 0 0 auto;
        margin-right: 0.5rem;
        white-space: nowrap;
        padding: 0.2rem 0.6rem;
    }
    
    .custom-tab-button:hover {
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .custom-tab-button.active {
        box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
    }
    
    .custom-tab-button.active::after {
        display: block;
    }
    
    .custom-tab-content {
        margin-top: 0;
    }
}

/* 代码块样式 */
pre {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
    margin: 0;
    overflow-x: auto;
    max-height: 400px;
}

code {
    font-family: 'Courier New', Courier, monospace;
}

/* 响应式调整 */
@media (max-width: 768px) {
    
    pre {
        font-size: 0.8rem;
    }
}