
    :root {
        --primary-color: #2E7D32;
        --secondary-color: #2196F3;
        --warning-color: #FF9800;
        --white: #fff;
        --text-color: #333;
        --border-color: #ddd;
        --radius-sm: 4px;
        --radius-md: 8px;
        --shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    body {
        font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
        margin: 0;
        padding: 0;
        background-color: var(--light-gray);
        color: var(--text-color);
        line-height: 1.6;
    }
    
    .yue-container {
        max-width: 1000px;
        margin: 0 auto;
        padding: 20px;
    }
    
    .yue-header {
        background: linear-gradient(135deg, var(--primary-color), #2E7D32);
        color: var(--white);
        padding: 20px;
        border-radius: var(--radius-md);
        margin-bottom: 20px;
        box-shadow: var(--shadow);
        text-align: center;
    }
    
    .yue-header h1 {
        margin: 0;
        font-size: 24px;
    }
    
    .yue-time-tabs {
        display: flex;
        margin-bottom: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .yue-time-tab {
        padding: 10px 20px;
        cursor: pointer;
        border-bottom: 2px solid transparent;
    }
    
    .yue-time-tab.active {
        border-bottom-color: var(--primary-color);
        font-weight: bold;
    }
    
    .yue-time-tab:hover {
        background-color: #f0f0f0;
    }
    
    /* ========== 月份导航样式优化 ========== */
.yue-month-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
    background: rgba(255,255,255,0.9);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.yue-mobile-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    border: none;
    border-radius: 50px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    min-width: 110px;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.yue-mobile-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
   /*background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);*/
        background: linear-gradient(145deg, #4CAF50, #2E7D32); /* 绿色渐变 */
    color: white;
    transition: 0.5s;
}

.yue-mobile-nav:hover::before {
    left: 100%;
}

.yue-current-month {
    font-size: 20px;
    font-weight: 700;
    color: #2E7D32;
    padding: 0 20px;
    white-space: nowrap;
    text-align: center;
    margin: 0 15px;
    text-shadow: 0 2px 3px rgba(0,0,0,0.1);
    background: linear-gradient(to right, #2E7D32, #4CAF50);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.yue-nav-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.yue-mobile-text {
    margin: 0 10px;
    font-weight: 600;
    color: inherit;
}

.yue-mobile-nav:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #e9ecef;
    color: #adb5bd;
    box-shadow: none;
}

.yue-mobile-nav:not(:disabled):hover {
    background: linear-gradient(145deg, #e9ecef, #dee2e6);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    color: #2E7D32;
}

.yue-mobile-nav:not(:disabled):hover .yue-nav-icon {
    transform: scale(1.1);
    fill: #2E7D32;
}

.yue-mobile-nav:active {
    transform: scale(0.98) translateY(-1px);
}

    
    .yue-month-input {
        padding: 8px 12px;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        font-size: 14px;
        min-width: 120px;
    }
    
    .yue-query-btn, .yue-reset-btn {
        padding: 8px 15px;
        border-radius: var(--radius-sm);
        cursor: pointer;
        border: none;
        font-size: 14px;
    }
    
    .yue-query-btn {
        background: var(--primary-color);
        color: white;
    }
    
    .yue-reset-btn {
        background: var(--warning-color);
        color: white;
    }
    
    .yue-report-container {
        background: var(--white);
        border-radius: var(--radius-md);
        padding: 20px;
        box-shadow: var(--shadow);
        margin-bottom: 20px;
    }
    
    .yue-report-content {
        font-size: 16px;
    }
    
    .yue-report-list {
        margin: 10px 0 10px 20px;
        padding: 0;
    }
    
    .yue-report-list li {
        margin-bottom: 5px;
        list-style-type: none;
    }
    
    .yue-data-item {
        display: flex;
        justify-content: space-between;
        padding: 5px 0;
        border-bottom: 1px dashed var(--border-color);
        max-width: 400px;
    }
    
    .yue-area-title {
        font-weight: bold;
        margin: 15px 0 5px 0;
        font-size: 16px;
    }
    
    .yue-change-up {
        color: red;
    }
    
    .yue-change-down {
        color: green;
    }
    
    .yue-village-row {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        border-bottom: 1px dashed #eee;
    }
    
    .yue-village-name {
        flex: 2;
    }
    
    .yue-village-count {
        flex: 1;
        text-align: center;
    }
    
    /* 分析标题容器 */
    .yue_analysis-header {
        margin: 25px 0 15px;
        padding-bottom: 8px;
        border-bottom: 2px solid #e0e0e0;
    }
    
    /* 主标题样式 */
    .yue_analysis-title {
        font-size: 20px;
        font-weight: 600;
        color: #2c3e50;
        position: relative;
        padding-left: 15px;
        margin-bottom: 12px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .yue_analysis-title:before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 70%;
        width: 4px;
        background: linear-gradient(to bottom, #3498db, #2ecc71);
        border-radius: 2px;
    }
    
    /* 副标题样式 */
    .yue_analysis-subtitle {
        font-size: 16px;
        color: #7f8c8d;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }
    
    .yue_analysis-subtitle:before {
        content: "•";
        color: #e74c3c;
        margin-right: 8px;
        font-size: 20px;
    }
    
    /* 特殊强调标题 */
    .yue_analysis-emphasis {
        background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
        color: white;
        padding: 8px 15px;
        border-radius: 4px;
        display: inline-block;
        box-shadow: 0 3px 6px rgba(0,0,0,0.1);
        margin: 10px 0;
    }
    
    /* 数据块标题 */
    .yue_data-section-title {
        font-size: 18px;
        color: #34495e;
        border-left: 4px solid #9b59b6;
        padding-left: 12px;
        margin: 20px 0 10px;
        font-weight: 500;
    }
    
    /* 省级分析切换按钮 */
    .analysis-switch {
        background: var(--danger-color);
        color: white;
        padding: 6px 12px;
        border-radius: 4px;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s;
    }
    
    .analysis-switch:hover {
        background: #d32f2f;
        transform: translateY(-2px);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }      
    
    /* ========== 响应式调整 ========== */
    @media (max-width: 768px) {
        .yue_analysis-title {
            font-size: 18px;
        }
        .yue_data-section-title {
            font-size: 16px;
        }
        
        /* 手机端月份导航调整 */
    .yue-month-controls {
        padding: 0 10px;
        margin: 20px 0;
        border-radius: 40px;
    }
        
    .yue-mobile-nav {
        padding: 10px 18px;
        min-width: 90px;
        font-size: 15px;
    }
        
   .yue-current-month {
        font-size: 18px;
        padding: 0 15px;
        margin: 0 10px;
    }
    
    .yue-nav-icon {
        width: 18px;
        height: 18px;
    }
    
    .yue-mobile-text {
        margin: 0 8px;
    }
    
    }
    
 @media (max-width: 480px) {
    .yue-month-controls {
        padding: 0 8px;
        border-radius: 35px;
    }
    
    .yue-mobile-nav {
        padding: 8px 12px;
        min-width: 80px;
        font-size: 14px;
    }
    
    .yue-current-month {
        font-size: 16px;
        padding: 0 10px;
        margin: 0 5px;
    }
    
    .yue-nav-icon {
        width: 16px;
        height: 16px;
    }
    
    .yue-mobile-text {
        font-size: 13px;
        margin: 0 5px;
    }
}
/* 上月按钮 */
.yue-prev-month {
    background: linear-gradient(145deg, #64b5f6, #42a5f5); /* 橙色 */
    color: white;
    
}

/* 下月按钮 */ 
.yue-next-month {
    background: linear-gradient(145deg, #2196F3, #1976D2); /* 蓝色 */
    color: white;
}

/* 悬停效果 */
.yue-prev-month:hover {
    background: linear-gradient(145deg, #90caf9, #64b5f6);
}

.yue-next-month:hover {
    background: linear-gradient(145deg, #42a5f5, #2196F3);
}

/* 禁用状态 */
.yue-next-month:disabled {
    background: red; /* 更浅的禁用状态蓝色 */
    color: #e3f2fd;
}




/* 时间段分析表格样式 */
.yue-hourly-table {
    overflow-x: auto;
    margin: 15px 0;
}

.yue-hourly-table table {
    border-collapse: collapse;
    width: 100%;
}

.yue-hourly-table th, 
.yue-hourly-table td {
    border: 1px solid #ddd;
    padding: 6px;
    text-align: center;
    font-size: 0.9em;
}

.yue-hourly-table th {
    background-color: #f2f2f2;
}

.yue-hourly-table tr:nth-child(even) {
    background-color: #f9f9f9;
}