/* 
 * 橙色选项卡模块样式
 * 使用独立类名，避免多级选择器
 */

/* 模块容器 */
.orange-tabs-module-container {
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    /* 重置内部元素 */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
}

/* 一级选项卡容器 */
.orange-tabs-primary-container {
    display: flex;
    background: linear-gradient(to right, #ff8a00, #ff6b00);
    border-bottom: 2px solid #e65c00;
}

/* 一级选项卡按钮 */
.orange-tabs-primary-btn {
    flex: 1;
    padding: 10px 20px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    outline: none;
    position: relative;
    margin: 0;
    box-sizing: border-box;
}

.orange-tabs-primary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.orange-tabs-primary-btn-active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.15);
}

.orange-tabs-primary-btn-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
}

/* 二级选项卡容器 */
.orange-tabs-secondary-container {
    background-color: #fff7f0;
    padding: 0 20px;
    border-bottom: 1px solid #ffe0cc;
}

.orange-tabs-secondary-inner {
    display: flex;
    max-width: 500px;
}

/* 二级选项卡按钮 */
.orange-tabs-secondary-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 500;
    color: #ff8a00;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
    margin: 0;
    box-sizing: border-box;
}

.orange-tabs-secondary-btn:hover {
    color: #e65c00;
}

.orange-tabs-secondary-btn-active {
    color: #e65c00;
    font-weight: 600;
}

.orange-tabs-secondary-btn-active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ff8a00;
    border-radius: 3px 3px 0 0;
}

/* 内容区域 */
.orange-tabs-content-area {
    padding: 0px;
    min-height: 150px;
}

/* 内容面板 */
.orange-tabs-pane {
    display: none;
    width: 100%;
}

.orange-tabs-pane-active {
    display: block;
    animation: orange-tabs-fadeIn 0.4s ease;
}

@keyframes orange-tabs-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



/* 模块标题 */
.orange-tabs-module-title {
    padding: 15px 20px 10px;
    font-size: 14px;
    font-weight: 600;
    color: #ff6b00;
    border-bottom: 1px solid #ffe0cc;
    margin: 0;
}

/* 统计卡片 */
.orange-tabs-module-stats-cards {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.orange-tabs-module-stat-card {
    flex: 1;
    min-width: 100px;
    background: linear-gradient(to right, #fff7f0, #ffe0cc);
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.orange-tabs-module-stat-card h4 {
    color: #ff6b00;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.orange-tabs-module-stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #e65c00;
}

.orange-tabs-module-stat-card .stat-unit {
    font-size: 14px;
    color: #999;
    margin-left: 4px;
}  