/* 전체 레이아웃 */
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #eef2f5; /* 배경색 수정 */
    color: #333;
}

.dashboard {
    max-width: 900px; /* 대시보드 너비 확장 */
    margin: 50px auto;
    background: #fff;
    padding: 30px; /* 내부 여백 확장 */
    border-radius: 12px; /* 둥근 모서리 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* 제목 스타일 */
h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2c3e50; /* 진한 회색 */
}

/* 필터 스타일 */
.filter {
    margin: 20px 0 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

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

.filter input, .filter button {
    padding: 8px 12px; /* 여백 증가 */
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 버튼 음영 */
}

.filter button {
    background-color: #3498db; /* 파란색 */
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.filter button:hover {
    background-color: #2980b9; /* hover 시 어두운 파란색 */
}

/* 요약 정보 스타일 */
.summary {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa; /* 밝은 배경 */
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.summary h2 {
    font-size: 18px;
    color: #34495e; /* 진한 회색 */
    margin-bottom: 10px;
}

.summary p {
    font-size: 16px;
    margin: 5px 0;
    color: #555;
}

.summary strong {
    color: #000;
    font-weight: bold;
}

/* 기본 차트 컨테이너 스타일 */
.chart-container {
    margin: 30px auto;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px; /* PC에서 최대 너비 */
    height: 400px; /* PC에서 차트 높이 */
}

canvas {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 100%;
}

/* 모바일 환경에서 차트 크기 조정 */
@media (max-width: 768px) {
    .chart-container {
        max-width: 100%; /* 모바일에서 화면 너비에 맞춤 */
        height: 300px; /* 모바일에서 차트 높이 축소 */
    }
}

.filter-buttons {
    margin-top: 20px;
    text-align: center;
}

.filter-buttons button {
    padding: 10px 15px;
    margin: 5px;
    font-size: 14px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter-buttons button:hover {
    background-color: #2980b9;
}


/* 고정 네비게이션 스타일 */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #34495e;
    padding: 10px 20px;
    text-align: center;
    z-index: 1000; /* 다른 요소 위에 표시 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.navigation li {
    display: inline;
}

.navigation a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

.navigation a:hover {
    background-color: #2980b9;
    border-radius: 5px;
}

/* 네비게이션 아래 컨텐츠 위치 보정 */
.dashboard {
    margin-top: 80px; /* 네비게이션 높이만큼 추가 */
}