﻿.tab-nav-item a {
    text-decoration: none;
    color: #4c4c4c;
}

.tab-nav {
    padding: 10px 0px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    gap: 10px;
    max-width: 1100px;
    width:100%;

}

.tab-nav-item {
    background: #F1F1F1;
    border-radius: 3px 3px 0px 0px;
    padding: 3px 20px;
    cursor: pointer;
    height: 40px;
    line-height: 40px;
}

.tab-active {
    background-color: #66c9ba;
    color:#ffffff
}

.tab-panels {
    max-width: 1100px;
    width: 100%;
    background-color: #F1F1F1;
    box-shadow: 1px 2px 6px #ccc;
}

.tab-panel-item {
}

.accordion-header {
    color: #66c9ba;
    font-size: 18px;
    border-radius: 4px 4px 0px 0px;
    padding: 8px 40px 8px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: visible;
    height: 35px;
    line-height: 35px;
}

    /* 调整SVG图标定位（右侧固定） */
    .accordion-header svg {
        width: 20px;
        height: 20px;
        position: absolute;
        right: 15px;
        /* 右侧距离15px */
        top: 30%;
        transform: translateY(-50%);
        transition: transform 0.3s ease, filter 0.2s ease;
        transform: rotate(0deg);
    }

    .accordion-header.active svg {
        transform: rotate(180deg);
    }



/* 展开状态：图标旋转180度 + 变为白色 */
.tab-panel-item-active svg {
    transform: translateY(-50%) rotate(180deg);
    /* 白色滤镜（将图片转为白色） */
    filter: brightness(0) invert(1);
}

/* 鼠标悬停时同步变色 */
.accordion-header:hover svg {
    filter: brightness(0) invert(1);
    /* 悬停时提前变白（与文字同步） */
}

.accordion-header:hover {
    background-color: #77cfc2;
    color: #fff;
}

.tab-panel-item-active {
    background-color: #77cfc2;
    color: #fff;
}

.accordion-item {
    padding: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

    .accordion-item.active {
        box-sizing: border-box;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 0 0 4px 4px;
        margin-bottom: 10px;
        background-color: #f9f9f9;
    }

.data-table {
}

.data-table-item {
    border-bottom: 1px solid #ccc;
    padding: 5px 15px;
    transition: background-color 0.2s ease;
    height:30px;
    line-height:30px;
}

    .data-table-item:hover {
        background-color: #eeeeee;
    }

    .data-table-item a {
        color: #66c9ba;
        font-size: 16px;
    }

.data-table:last-child {
    border-bottom: 0px solid #ccc;
}