.tabs-container {
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background: #166534;
    border-radius: 8px;
    padding: 4px;
}

.tab-item {
    cursor: pointer;
    border: none;
    background: none;
    position: relative;
    transition: all 0.3s ease;
    user-select: none;
    flex: 1;
    /* 自定义样式 */
    padding: 8px 18px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    border-radius: 6px;
}

.tab-item:hover {}

.tab-item.active {
    color: #166534;
    background: white;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    /*background: #166534;*/
    /*border-radius: 2px 2px 0 0;*/
}

.tab-content {
    /* 自定义样式 */
    padding-top: 12px;
    padding-bottom: 12px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
    /* 自定义样式 */
    background: white;
    min-height: 200px;
    border-radius: 6px;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tabs-header {
        flex-wrap: wrap;
    }

    .tab-item {
        flex: 1;
        min-width: 96px;
        padding: 12px 16px;
        font-size: 14px;
        text-align: center;
    }

    .tabs-header {
        padding: 0;
    }
}