body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

header {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.container {
    max-width: 500px;
    margin: 30px auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.input-field {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.btn, button {
    width: 100%;
    padding: 12px;
    font-size: 1em;
    color: white;
    background-color: #4CAF50;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover, button:hover {
    background-color: #45a049;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    color: #666;
}
.meeting-info {
    background-color: #f9f9f9; /* 배경색 */
    border: 1px solid #ddd; /* 테두리 */
    border-radius: 10px; /* 모서리 둥글게 */
    padding: 20px; /* 안쪽 여백 */
    margin: 20px 0; /* 바깥 여백 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 그림자 */
    font-family: Arial, sans-serif; /* 폰트 */
}

.meeting-info h2 {
    color: #333; /* 제목 색상 */
    font-size: 24px; /* 제목 크기 */
    margin-bottom: 15px; /* 제목 하단 여백 */
    text-align: center; /* 중앙 정렬 */
}

.meeting-info p {
    color: #555; /* 텍스트 색상 */
    font-size: 18px; /* 텍스트 크기 */
    margin: 5px 0; /* 텍스트 간격 */
    line-height: 1.6; /* 줄 간격 */
}

.meeting-info p strong {
    color: #222; /* 강조 텍스트 색상 */
}

.map-info-container {
    text-align: center;
    margin: 20px 0;
}

.map-info {
    display: inline-block;
    background-color: #f9f9f9; /* 배경색 */
    padding: 10px 20px; /* 안쪽 여백 */
    border: 1px solid #ddd; /* 테두리 */
    border-radius: 8px; /* 모서리 둥글게 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 그림자 */
}

.map-info p {
    margin: 5px 0;
    font-size: 16px;
    color: #333;
}

.map-info p strong {
    font-weight: bold;
}

.map {
    width: 100%;
    height: 400px;
    margin: 20px 0;
}

#attendance-today {
    margin: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

#attendance-today h2 {
    text-align: center;
    margin-bottom: 10px;
}

#attendance-today table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

#attendance-today table th,
#attendance-today table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

#attendance-today table th {
    font-weight: bold;
}
#refreshAttendanceButton svg {
    width: 20px;
    height: 20px;
    stroke: #000; /* 아이콘 색상 */
    transition: transform 0.2s ease;
}

#refreshAttendanceButton:hover svg {
    transform: rotate(90deg); /* 마우스 오버 시 회전 효과 */
    stroke: #007BFF; /* 마우스 오버 시 색상 변경 */
}

#radarChart {
    display: block;
    margin: 20px auto; /* 중앙 정렬 및 위아래 여백 */
    background-color: #f9f9f9; /* 밝은 배경색 */
    border: 1px solid #ccc; /* 테두리로 강조 */
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

table th,
table td {
    padding: 10px;
    border: 1px solid #ddd;
}

table thead {
    background-color: #f5f5f5;
}

table tbody {
    background-color: #fff;
}

/* 푸터 */
footer {
    text-align: center;
    padding: 10px 0;
    background-color: #333;
    color: white;
    font-size: 0.9rem;
}

/* 출석부 섹션 스타일 */
.attendance-section {
    margin: 20px auto;
    padding: 20px;
    max-width: 90%;
    background-color: #ffffff; /* 배경색 */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 테두리 그림자 */
}

.attendance-section h2 {
    margin-bottom: 15px;
    color: #4CAF50; /* 텍스트 색상 - 선명한 초록색 */
    font-size: 1.5rem;
    text-align: center;
    font-weight: bold;
}

/* 테이블 스타일 */
/*.attendance-table {*/
/*    width: 100%;*/
/*    border-collapse: collapse;*/
/*    text-align: center;*/
/*    font-size: 1rem;*/
/*}*/

.attendance-table thead {
    background-color: #4CAF50; /* 헤더 배경색 */
    color: #ffffff; /* 헤더 텍스트 색상 - 흰색으로 명확히 */
    font-size: 1.1rem; /* 헤더 글자 크기 조금 키움 */
    font-weight: bold; /* 헤더 글자를 굵게 */
    text-transform: uppercase; /* 헤더 텍스트 대문자로 변환 */
}

.attendance-table thead th {
    padding: 15px;
    border-bottom: 2px solid #ddd; /* 헤더 하단 구분선 */
}

.attendance-table tbody td {
    padding: 12px;
    font-size: 1rem;
    color: #333; /* 본문 텍스트 색상 */
}

.attendance-table tbody tr:hover {
    background-color: #f1f9f1; /* 행 Hover 효과 */
    transition: background-color 0.3s ease; /* 부드러운 전환 효과 */
}

.attendance-table tbody tr {
    border-bottom: 1px solid #ddd; /* 행 간 구분선 */
}

.attendance-table tbody tr:nth-child(even) {
    background-color: #f2f2f2; /* 짝수 행의 배경색 */
}

/* 빈 데이터 스타일 */
.attendance-table tbody tr td[colspan] {
    color: #888; /* 빈 데이터 텍스트 색상 */
    font-style: italic;
}

/* 반응형 테이블 */
@media (max-width: 768px) {
    .attendance-table {
        font-size: 0.9rem;
    }

    .attendance-table thead th,
    .attendance-table tbody td {
        padding: 10px;
    }
}

#statAnalysisTitle {
    text-align: center;
    display: block;
    font-size: 2em;
    font-weight: bold;
    margin: 20px auto;
}

.tab-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background-color: #ddd;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

.tab-button.active {
    background-color: #ff4500;
    color: white;
}

.chart-content {
    text-align: center;
}

#event-location, #event-time {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 1.8;
    display: block;
    margin-bottom: 10px;
}
/* 기본 등급 테이블 스타일 */
#tierTable {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* 셀 크기를 고정 */
}

#tierTable td {
    text-align: center;
    padding: 8px; /* 패딩 축소 */
    border: 1px solid #ddd;
    font-size: 14px; /* 기본 폰트 크기 축소 */
    word-wrap: break-word; /* 텍스트 줄바꿈 */
}

#tierTable td:hover {
    background-color: #e0e0e0;
    cursor: default;
}

/* 현재 등급 강조 */
#tierTable td.current-tier {
    background-color: #ffcccb; /* 강조 배경색 */
    font-weight: bold;
}

/* 반응형 디자인: 모바일 화면 최적화 */
@media (max-width: 768px) {
    #tierTable td {
        padding: 5px; /* 모바일에서 패딩 더 축소 */
        font-size: 12px; /* 폰트 크기 축소 */
    }

    #tierTable {
        font-size: 12px; /* 전체 폰트 크기 축소 */
    }

    #tierTable td.current-tier {
        background-color: #ffa7a7; /* 강조 색상 */
    }
}