/* 二级tab样式 */
.sub-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #d9d9d9;
}

.sub-tab {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    background: #f5f5f5;
    transition: all 0.3s;
    position: relative;
    top: 1px;
    font-size: 14px;
    margin-right: 4px;
}

.sub-tab.active {
    background: white;
    border-color: #d9d9d9;
    color: #1890ff;
}

.sub-tab:hover {
    background: #e6f7ff;
}

/* 二级tab内容区域 */
.sub-tab-content {
    display: none;
}

.sub-tab-content.active {
    display: block;
}

/* 历史版本面板样式 */
#history-panel {
    padding: 0;
}

#history-panel .version-info-bar {
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #f6f8fa;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

#history-panel .version-limit-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #656d76;
    font-size: 14px;
}

#history-panel .info-icon {
    font-size: 16px;
    opacity: 0.8;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .sub-tabs {
        flex-wrap: wrap;
    }
    
    .sub-tab {
        margin-bottom: 4px;
    }
}