body {
    background-color: #FFEDD5; /* Light warm orange */
    font-family: 'Poppins', sans-serif;
    color: #4A4A4A; /* Darker grey for readability */
    margin: 0;
    padding: 20px;
    text-align: center;
}

h1 {
    color: #FF8C42; /* Bright warm orange */
    font-size: 2.5em;
}

form {
    background-color: #FFF4E3;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: inline-block;
    margin-bottom: 20px;
}

label {
    font-size: 1.2em;
    color: #FF8C42;
}

input[type="text"],
input[type="number"] {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #FF8C42;
    margin-bottom: 10px;
}

button {
    background-color: #FF8C42;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.2em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #FF7A2F;
}

table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

th, td {
    border: 1px solid #FFEDD5;
    padding: 10px;
    text-align: left;
    background-color: #FFF4E3;
}

th {
    background-color: #FF8C42;
    color: white;
}

td {
    background-color: #FFF9F0;
}

table tr:nth-child(even) {
    background-color: #FFE4C7;
}

table tr:hover {
    background-color: #FFD4A3;
}

.chart-container {
    display: flex;
    justify-content: space-between; /* 将图表并排 */
    align-items: center;
    margin-top: 20px;
}

.chart-box {
    width: 45%; /* 调整每个图表的宽度 */
    text-align: center;
}

canvas {
    max-width: 100%; /* 确保图表在容器中自适应 */
    height: auto;
}






/* 整体布局 */
.container {
    display: flex;
}

/* 侧边栏样式 */
.sidebar {
    width: 200px;
    background-color: #f8b400;
    padding: 20px;
    height: 100vh; /* 全高度 */
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    margin: 20px 0;
}

.sidebar ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.sidebar ul li a:hover {
    color: #333;
}

/* 内容区域样式 */
.content {
    flex-grow: 1;
    padding: 20px;
}

/* Chart 样式同前文 */
.chart-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.chart-box {
    width: 45%;
    text-align: center;
}

canvas {
    max-width: 100%;
    height: auto;
}

/* Existing styles above */

.container {
    display: flex; /* Create a flexbox layout for the sidebar and main content */
}

.sidebar {
    width: 200px;
    background-color: #FF8C42; /* Bright warm orange for the sidebar background */
    padding: 20px;
    height: 100vh; /* Full-height sidebar */
    position: fixed; /* Keep the sidebar fixed as you scroll */
    top: 0;
    left: 0;
    color: white;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    margin: 20px 0;
}

.sidebar ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.sidebar ul li a:hover {
    color: #FFD4A3; /* Lighter orange on hover */
}

.content {
    margin-left: 220px; /* Space for the sidebar */
    padding: 20px;
}

/* Chart section styles remain the same */



