body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 1000px; /* Set to the same as the chart container */
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: 10px;
}

label {
    font-size: 14px;
    color: #555;
}

input[type="color"],
input[type="range"] {
    width: 200px;
    height: 30px;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
}

input[type="range"] {
    margin-top: -10px;
}

button {
    grid-column: 1 / span 2; /* Span across both columns */
    padding: 10px;
    background-color: #ff5a00; /* Orange color from 서울신문 CI */
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #e04b00; /* Darker shade of orange for hover effect */
}

#chart-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

canvas {
    width: 100% !important;
    height: auto !important;
}

/* Additional classes for specific chart elements (if needed) */

.chart-title {
    color: #333; /* Dark color for chart titles */
}

.chart-subtitle {
    color: #ff5a00; /* Orange color for subtitles or specific highlights */
}

