.module-card {
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.module-card.hidden {
    display: none;
}
.module-card.fade-enter {
    opacity: 0;
    transform: translateY(10px);
}
.module-card.fade-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 300ms, transform 300ms;
}
.el-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.el-card__body {
    padding: 20px;
}
.detail-table {
    margin-top: 16px;
}
.tag-group {
    margin-bottom: 8px;
}
.tag-group .el-tag {
    margin-right: 8px;
    margin-bottom: 8px;
}
/* 搜索筛选区域样式 */
.search-container {
    background-color: white;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08);
}
.search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}
.search-item {
    flex: 1;
}
.search-actions {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
/* 添加新的容器类，用于左右对齐布局 */
.search-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}
.search-buttons {
    flex: 1;
    min-width: 150px;
}
.search-tags {
    flex: 2;
    min-width: 300px;
}
.result-count {
    margin-top: 12px;
    color: #666;
    font-size: 14px;
}
.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    background-color: white;
    border-radius: 8px;
    margin-bottom: 20px;
}
.no-results i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #ccc;
}
/* 新增样式：将搜索选项和按钮放在同一行 */
.search-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}
.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    flex: 1;
}
.search-filters .search-item {
    flex: 1;
    min-width: 120px;
}
.search-buttons-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
/* 新增样式：将条件标签和搜索结果放在同一行 */
.tags-results-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}
.tags-results-row .filter-tags {
    margin-top: 0;
}

/* 筛选按钮样式 - 使用渐变色 */
.search-buttons-row .el-button {
    background: linear-gradient(90deg, #dea7c4 0%, #f9e270 100%);
    color: white;
    border: none;
}

.search-buttons-row .el-button:hover {
    opacity: 0.9;
    color: white;
}

.search-buttons-row .el-button--default {
    background: linear-gradient(90deg, #c2c2c2 0%, #e0e0e0 100%);
    color: white;
}

.search-buttons-row .el-button i {
    margin-right: 5px;
}

/* 移除 el-collapse-item 底部的下划线 */
.detail-collapse .el-collapse-item__wrap {
    border-bottom: none;
}

.detail-collapse .el-collapse-item:last-child .el-collapse-item__header {
    border-bottom: none;
}

/* 隐藏 el-collapse-item 的标题行 */
.detail-collapse .el-collapse-item__header {
    display: none;
}

/* 调整折叠面板内容的边距 */
.detail-collapse .el-collapse-item__wrap {
    margin-top: 16px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 20px;
    }
    .header p {
        font-size: 14px;
    }

    .el-card__header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .el-card__header .el-button {
        margin-top: 0;
        align-self: center;
    }
    .el-card__body {
        padding: 0;
    }
    .el-table {
        font-size: 12px;
        display: block;
        overflow-x: auto;
        width: 100%;
    }
    .el-table th, .el-table td {
        padding: 8px;
    }
    .search-actions {
        flex-direction: column;
    }
    .search-actions .el-button {
        width: 100%;
    }
    
    /* 确保折叠面板内的表格也可以横向滚动 */
    .detail-table {
        display: block;
        overflow-x: auto;
        width: 100%;
        min-width: 100%;
    }
    
    /* 为折叠面板内的表格容器添加样式以确保横向滚动 */
    .el-collapse-item__wrap {
        overflow-x: auto;
    }
    
    /* 确保折叠面板内容区域支持横向滚动 */
    .el-collapse-item__content {
        overflow-x: auto;
        width: 100%;
    }
    

}
/* 箭头旋转动画 - 默认向下（展开状态） */
.rotate-icon {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

/* 箭头旋转动画 - 收起状态时向上 */
.rotate-icon.collapsed {
    transform: rotate(180deg);
}
.el-button {
    transition: all 0.3s ease;
}