/* 基本页面样式 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

/* 主容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 控制面板样式 */
.control-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* 表单区域样式 */
.form-section {
    flex-grow: 1;
    margin-right: 20px;
}

/* 表单行样式 */
.form-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

/* 表单组样式 */
.form-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
}

/* 输入框样式调整 */
.form-group input[type="number"] {
    width: 80px;
}

.form-group input[type="date"] {
    width: 130px;
}

/* 标签样式 */
label {
    font-weight: bold;
    white-space: nowrap;
}

/* 输入框和下拉框样式 */
select, input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* 按钮通用样式 */
button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    background-color: #007bff;
    color: white;
}

/* 按钮悬停效果 */
button:hover {
    background-color: #0056b3;
}

/* 表格容器样式 */
.table-container {
    overflow-x: auto;
    padding-top: 10px;
}

/* 报表标题样式 */
.report-title {
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0 10px;
    color: #333;
}

/* 报表头部样式 */
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    margin-top: 20px;
}

.report-type {
    font-weight: bold;
    color: #333;
}

.report-date {
    color: #666;
}

/* 报表标题行样式 */
.report-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    margin-top: 20px;
}

.report-type-left {
    font-weight: bold;
    color: #333;
}

.report-date-right {
    color: #666;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 13px;
}

th, td {
    padding: 6px;
    text-align: center;
    border: 1px solid #ddd;
}

/* 网点名称列样式 */
.network-name {
    text-align: left;
    padding-left: 10px;
    width: 120px;
}

/* 其他列宽度 */
th:not(:first-child),
td:not(:first-child) {
    width: 60px;
}

/* 零值样式 */
td.zero-value {
    color: #ff6600;
}

/* 奇数行背景色 */
tr:nth-child(odd) {
    background-color: #f9f9f9;
}

/* 报告信息样式 */
.report-info {
    margin: 0;
    padding: 5px 10px;
    color: #666;
    font-size: 14px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    white-space: nowrap;
}

/* 报告日期样式 */
#report_date {
    font-weight: normal;
    display: inline-block;
    white-space: nowrap;
}

/* 按钮组样式 */
.button-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 导出按钮禁用状态样式 */
#exportButton:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 导出按钮样式 */
#exportButton {
    background-color: #ffc107;
    color: #000;
}

/* 导出按钮悬停效果 */
#exportButton:hover:not(:disabled) {
    background-color: #e0a800;
}

/* 报表网格布局 */
.reports-grid {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

/* 报表部分样式 */
.report-section {
    flex: 1;
    min-width: 0;
}

/* 报表标题样式 */
.report-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

/* 报表日期样式 */
.report-date {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

/* 移除不需要的样式 */
.header-right {
    display: none;
}

/* 无要求单元格样式 */
td.no-requirement {
    color: #999;
    font-style: italic;
} 