/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    padding: 20px;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
}
/* 卡片样式 */
.card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
/* 导航网格 */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.nav-item {
    background: white;
    text-align: center;
    padding: 20px;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.nav-item:hover {
    transform: translateY(-5px);
    background: #e6f7ff;
}
.nav-icon {
    font-size: 40px;
    margin-bottom: 10px;
}
/* 表单样式 */
.date-picker-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    align-items: flex-end;
}
.date-field {
    display: flex;
    flex-direction: column;
}
.date-field label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #666;
}
input, select, button {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}
button {
    background-color: #f89b34;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}
button:hover {
    background-color: #e08a2a;
}
/* 表格样式 */
.table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
th, td {
    border: 1px solid #eee;
    padding: 8px;
    text-align: center;
}
th {
    background-color: #fafafa;
    font-weight: bold;
}
/* 图表容器 */
.chart-container {
    height: 500px;
    margin-bottom: 20px;
}
/* 详情页附件列表 */
.attachment-list {
    margin-top: 10px;
}
.attachment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8f8f8;
    margin-bottom: 8px;
    border-radius: 8px;
}
.attachment-name {
    color: #576b95;
    cursor: pointer;
}
.attachment-name:hover {
    text-decoration: underline;
}