/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

.function_0010_post_data_container {
    max-width: 99%; /* 页面整体宽度占整体的99% */
    margin: 0 auto;
    padding: 20px;
}

/* 标题区域 */
.function_0010_post_data_header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.function_0010_post_data_header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 300;
}

.function_0010_post_data_header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 选择/展示区域 */
.function_0010_post_data_selection_area {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.function_0010_post_data_left_panel,
.function_0010_post_data_right_panel {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.function_0010_post_data_left_panel {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: rgba(255, 165, 0, 0.1); /* 淡淡的橘色透明度0.1 */
}

.function_0010_post_data_right_panel {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 省级城市选择总区域背景色 */
.function_0010_post_data_province_city_section {
    background-color: rgba(255, 165, 0, 0.5) !important; /* 淡淡的橘色透明度0.5 */
    border-radius: 8px;
    padding: 15px;
    margin: -10px;
}

/* 部分标题 */
.function_0010_post_data_section_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaeaea;
}

.function_0010_post_data_section_header h3,
.function_0010_post_data_section_header h4 {
    font-weight: 600;
    color: #2c3e50;
}

.function_0010_post_data_section_header h3 {
    font-size: 1.3rem;
}

.function_0010_post_data_section_header h4 {
    font-size: 1.1rem;
}

/* 按钮容器 */
.function_0010_post_data_button_container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #eaeaea;
}

/* 按钮样式 */
.function_0010_post_data_btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    color: #555;
}

.function_0010_post_data_btn:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.function_0010_post_data_btn_selected {
    background: #3498db !important;
    color: white !important;
    border-color: #2980b9 !important;
    font-weight: 600;
}

.function_0010_post_data_btn.active {
    background: #3498db;
    color: white;
    border-color: #2980b9;
}

.function_0010_post_data_toggle_btn {
    padding: 6px 12px;
    background: #95a5a6;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s ease;
}

.function_0010_post_data_toggle_btn:hover {
    background: #7f8c8d;
}

.function_0010_post_data_primary_btn {
    padding: 12px 24px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.function_0010_post_data_primary_btn:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(46, 204, 113, 0.3);
}

/* 添加到列表按钮 - 橘色 */
.function_0010_post_data_add_btn {
    padding: 12px 24px;
    background: #ff9800; /* 橘色 */
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    padding-left: 40px;
}

.function_0010_post_data_add_btn:hover {
    background: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 152, 0, 0.3);
}

.function_0010_post_data_add_btn:before {
    content: "①";
    position: absolute;
    left: 15px;
    font-size: 16px;
    font-weight: bold;
}

/* 提交查询按钮 - 红色 */
.function_0010_post_data_submit_btn {
    padding: 12px 24px;
    background: #f44336; /* 红色 */
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    padding-left: 40px;
}

.function_0010_post_data_submit_btn:hover {
    background: #d32f2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(244, 67, 54, 0.3);
}

.function_0010_post_data_submit_btn:before {
    content: "②";
    position: absolute;
    left: 15px;
    font-size: 16px;
    font-weight: bold;
}

/* 日期部分 */
.function_0010_post_data_date_section {
    display: flex;
    gap: 20px;
}

.function_0010_post_data_date_group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 日历容器 */
.function_0010_post_data_calendar_container {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #eaeaea;
    max-height: 200px;
    overflow-y: auto;
}

.function_0010_post_data_calendar_day {
    padding: 6px;
    text-align: center;
    border: 1px solid #eee;
    background: white;
    border-radius: 3px;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s ease;
}

.function_0010_post_data_calendar_day:hover {
    background: #f0f0f0;
}

.function_0010_post_data_calendar_day.active {
    background: #3498db;
    color: white;
    border-color: #2980b9;
}

.function_0010_post_data_calendar_day.disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

.function_0010_post_data_calendar_header {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    padding: 5px;
    background: #eaeaea;
    border-radius: 3px;
    font-weight: bold;
    font-size: 11px;
    text-align: center;
}

/* 已选择显示 */
.function_0010_post_data_selected_display {
    padding: 10px;
    background: #e8f4fc;
    border-radius: 6px;
    border: 1px solid #b3e0ff;
    font-size: 13px;
    color: #2c3e50;
}

.function_0010_post_data_selected_display span {
    font-weight: 600;
    color: #3498db;
}

/* 数据列表 */
.function_0010_post_data_list_container {
    flex: 1; /* 占据剩余高度 */
    min-height: 200px;
    max-height: 400px; /* 最大高度为400px，参考第二部分的默认高度 */
    overflow-y: auto;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    background: white;
}

/* 当数据列表超过最大高度时显示滚动条 */
.function_0010_post_data_list_container::-webkit-scrollbar {
    width: 8px;
}

.function_0010_post_data_list_container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.function_0010_post_data_list_container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.function_0010_post_data_list_container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 右侧面板布局调整 */
.function_0010_post_data_right_panel {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%; /* 确保右侧面板有高度 */
}

/* 提交按钮区域 */
.function_0010_post_data_submit_section {
    margin-top: auto; /* 将提交按钮推到最下方 */
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.function_0010_post_data_list_item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s ease;
}

.function_0010_post_data_list_item:hover {
    background: #f9f9f9;
}

.function_0010_post_data_list_item:last-child {
    border-bottom: none;
}

.function_0010_post_data_list_checkbox {
    margin-right: 10px;
}

.function_0010_post_data_list_index {
    width: 30px;
    font-weight: 600;
    color: #7f8c8d;
}

.function_0010_post_data_list_content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.function_0010_post_data_list_info {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #555;
}

.function_0010_post_data_list_delete {
    color: #e74c3c;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.function_0010_post_data_list_delete:hover {
    background: #ffebee;
}

/* 说明区域 */
.function_0010_post_data_instructions_section,
.function_0010_post_data_chart_instructions_section {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #eaeaea;
}

.function_0010_post_data_instructions_section h4,
.function_0010_post_data_chart_instructions_section h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.function_0010_post_data_instructions_section ul,
.function_0010_post_data_chart_instructions_section ul {
    list-style: none;
    padding-left: 0;
}

.function_0010_post_data_instructions_section li,
.function_0010_post_data_chart_instructions_section li {
    padding: 5px 0;
    color: #555;
    font-size: 12px;
    position: relative;
    padding-left: 15px;
}

.function_0010_post_data_instructions_section li:before,
.function_0010_post_data_chart_instructions_section li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
}

/* 图表区域 */
.function_0010_post_data_chart_area {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    min-height: 1200px; /* 调整到当前高度的2/3 */
}

.function_0010_post_data_chart_section {
    margin-bottom: 20px;
}

.function_0010_post_data_chart_container {
    width: 100%;
    min-height: 1200px; /* 调整到当前高度的2/3 */
    height: auto; /* 高度自动，由JavaScript控制 */
    border: 1px solid #eaeaea;
    border-radius: 6px;
    overflow: hidden;
    transition: height 0.3s ease; /* 高度变化动画 */
}

/* 图表标题 */
.function_0010_post_data_chart_section h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

/* 图表说明区域 */
.function_0010_post_data_chart_instructions_section {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #eaeaea;
    font-size: 12px;
}

.function_0010_post_data_chart_instructions_section h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.function_0010_post_data_chart_instructions_section ul {
    list-style: none;
    padding-left: 0;
}

.function_0010_post_data_chart_instructions_section li {
    padding: 5px 0;
    color: #555;
    position: relative;
    padding-left: 15px;
}

.function_0010_post_data_chart_instructions_section li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* 页脚 */
.function_0010_post_data_footer {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
    font-size: 13px;
    border-top: 1px solid #eaeaea;
    margin-top: 20px;
}

/* 加载提示 */
.function_0010_post_data_loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.function_0010_post_data_loading_content {
    text-align: center;
}

.function_0010_post_data_loading_spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: function_0010_post_data_spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes function_0010_post_data_spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 消息提示 */
.function_0010_post_data_message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    z-index: 1001;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: function_0010_post_data_slideIn 0.3s ease;
}

@keyframes function_0010_post_data_slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.function_0010_post_data_message.success {
    background: #2ecc71;
}

.function_0010_post_data_message.error {
    background: #e74c3c;
}

.function_0010_post_data_message.info {
    background: #3498db;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .function_0010_post_data_selection_area {
        flex-direction: column;
    }
    
    .function_0010_post_data_date_section {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .function_0010_post_data_container {
        padding: 10px;
    }
    
    .function_0010_post_data_header h1 {
        font-size: 1.8rem;
    }
    
    .function_0010_post_data_button_container {
        max-height: 150px;
    }
    
    .function_0010_post_data_chart_container {
        height: 400px;
    }
}

/* 日历表格样式 */
.function_0010_post_data_calendar_table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.function_0010_post_data_calendar_table th {
    padding: 5px;
    text-align: center;
    background: #f8f9fa;
    border: 1px solid #eaeaea;
    font-weight: 600;
    color: #555;
}

.function_0010_post_data_calendar_table td {
    padding: 2px;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.function_0010_post_data_calendar_empty {
    background: #fafafa;
}

.function_0010_post_data_calendar_disabled {
    background: #f5f5f5 !important;
    color: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

/* 开始日期和结束日期区分样式 */
.function_0010_post_data_date_group:first-child {
    border-right: 2px solid #eaeaea;
    padding-right: 20px;
    background-color: rgba(144, 238, 144, 0.5); /* 淡绿色透明度0.5 */
    border-radius: 8px;
    padding: 15px;
    margin-right: -15px;
}

.function_0010_post_data_date_group:last-child {
    padding-left: 20px;
    background-color: rgba(173, 216, 230, 0.5); /* 半透明天蓝色 */
    border-radius: 8px;
    padding: 15px;
    margin-left: -15px;
}

.function_0010_post_data_date_group:first-child .function_0010_post_data_selected_display {
    background: rgba(144, 238, 144, 0.3); /* 淡绿色透明度0.3 */
    border-color: #90ee90;
}

.function_0010_post_data_date_group:last-child .function_0010_post_data_selected_display {
    background: rgba(173, 216, 230, 0.3);
    border-color: #87ceeb;
}

.function_0010_post_data_date_group:first-child .function_0010_post_data_selected_display span {
    color: #228b22; /* 森林绿 */
}

.function_0010_post_data_date_group:last-child .function_0010_post_data_selected_display span {
    color: #1e90ff;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
