/* 기본 스타일 */
body {
  font-family: 'Noto Sans KR', sans-serif;
  margin: 0;
  padding: 20px;
}

.container {
  padding: 20px;
}

/* 검색창 및 버튼 스타일 */
.search-box {
  text-align: center;
  margin-bottom: 20px;
  margin-top: 20px; /* navbar 아래로 입력창 위치 조정 */
}

.search-box input {
  padding: 5px;
  font-size: 14px;
  width: 100%;
  max-width: 350px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 0px;
  box-sizing: border-box;
}

.search-box button {
  padding: 5px 20px;
  font-size: 14px;
  cursor: pointer;
  background-color: #007bff;
  color: white;
  border-radius: 5px;
  border: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease; /* 마우스를 올리면 그림자와 확대 효과 */
}

/* 버튼에 마우스를 올렸을 때 그림자 추가 */
.search-box button:hover {
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
  transform: translateY(-2px); /* 마우스를 올리면 버튼이 살짝 위로 올라가는 효과 */
}

/* 학교 목록 스타일 */
.school-list {
  list-style-type: none;
  padding: 0;
  text-align: center;
}

.school-list li {
  cursor: pointer;
  padding: 10px;
  margin-bottom: 10px;
  background-color: #f8f9fa;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 급식 정보 테이블 */
.meal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.meal-table th, .meal-table td {
  padding: 12px;
  text-align: center;
  border: 1px solid #ccc;
}

.meal-table th {
  background-color: #007bff;
  color: white;
  font-size: 14px;
}

.meal-table td {
  font-size: 14px;
}

.meal-table pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 14px;
}

/* 반응형 스타일 (미디어 쿼리) */

/* 작은 화면에서 글씨와 버튼, 입력란 크기 줄이기 */




/* 전체 페이지 공백 제거 */


/* 모든 요소의 기본 여백 및 패딩을 0으로 설정 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 네비게이션 바 스타일 */
.navbar {
  background-color: #007bff; /* 네이비 색상 */
  position: fixed; /* 화면에 고정 */
  top: 0;
  left: 0; /* 왼쪽 고정 */
  right: 0; /* 오른쪽 고정 */
  width: 100%;
  display: flex; /* 플렉스 레이아웃 사용 */
  justify-content: space-between; /* 왼쪽과 오른쪽 정렬 */
  align-items: center; /* 세로로 가운데 정렬 */
  padding: 0 20px; /* 패딩을 사이즈에 맞게 설정 */
  height: 80px; /* 높이를 더 크게 설정 */
  z-index: 1000; /* 다른 요소 위에 표시되도록 설정 */
}

/* 학교 정보 텍스트 */
.navbar .school-info {
  font-size: 24px;
  font-weight: bold;
  color: white; /* 텍스트 색상 */
}

/* 메뉴 스타일 */
.navbar .menu {
  display: flex;
  gap: 20px; /* 메뉴 아이템 사이에 간격을 주기 */
}

/* 메뉴 항목 */
.navbar .menu a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease; /* 마우스를 올렸을 때 색상 변경 */
}

/* 메뉴 항목에 마우스를 올렸을 때 색상 변경 */
.navbar .menu a:hover {
  color: #ffdd57; /* 마우스를 올리면 색상 변경 */
} 

/* 전체 페이지 스타일 */
.container {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* 네비게이션 바 스타일 */


  
  /* 학사일정 페이지 헤더 스타일 */

  
  /* 검색 박스 스타일 */
  .search-box {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .search-box input {
    width: 300px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  .search-box button {
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    background-color: #f4a261;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
  }
  
  .search-box button:hover {
    background-color: #e76f51;
  }
  
  /* 학교 리스트 스타일 */
  .school-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
  }
  
  .school-list li {
    padding: 10px;
    background-color: #f0f0f0;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  .school-list li:hover {
    background-color: #e76f51;
    color: white;
  }
  
  /* 학사일정 정보 영역 스타일 */
  .schedule-info {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .schedule-info h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2c3e50;
  }
  
  .schedule-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .schedule-table th,
  .schedule-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
  }
  
  .schedule-table th {
    background-color: #f4a261;
    color: white;
    font-weight: bold;
  }
  
  .schedule-table td {
    background-color: #fafafa;
  }
  
  .schedule-table td p {
    margin: 0;
    word-break: break-word;
  }
  
  /* 로딩 중 스타일 */
  .loading {
    text-align: center;
    font-size: 18px;
    color: #e76f51;
  } 
   .container {
    padding: 20px;
    font-family: Arial, sans-serif;
  }

  
  .school-info {
    font-size: 20px;
    font-weight: bold;
  }
  
  .menu a {
    margin-left: 20px;
    text-decoration: none;
  }
  
  .header {
    font-size: 30px;
    text-align: center;
    margin-top: 100px;
  }
  
  .search-box {
    display: flex;
    justify-content: center;
    margin-bottom: 0px;
  }
  
  .search-box input {
    padding: 10px;
    margin-right: 10px;
  }
  
  .school-list {
    list-style-type: none;
    padding: 0;
  }
  
  .school-list li {
    cursor: pointer;
    padding: 10px;
    background-color: #f4f4f4;
    margin-bottom: 5px;
  }
  
  .school-list li:hover {
    background-color: #ddd;
  }
  
  .filters {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }
  
  .filters input {

    width: 100px;
    padding: 1px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  .week-navigation {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .week-navigation button {
    padding: 10px;
    margin: 0 10px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
  }
  
  .week-navigation button:hover {
    background-color: #45a049;
  }
  
  .timetable-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    text-align: center;
  }
  
  .timetable-table th, .timetable-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
  }
  
  .timetable-table th {
    text-align: center;
    background-color: #f4f4f4;
  }


/* 모바일 반응형 스타일 */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .navbar {
    padding: 10px 15px;
    height: 60px;
    font-size: 14px;
  }

  .navbar .school-info {
    font-size: 18px;
  }

  .navbar .menu {
    gap: 10px;
  }

  .navbar .menu a {
    font-size: 14px;
  }
  .filter_input{
    height: 30px;
  }
  .filter_button{
    height: 40px;
    size: 10px;
  }
  .search-box {
    margin-top: 70px; /* 네비게이션 바와 겹치지 않도록 */
    margin-bottom: 15px;
  }

  .search-box input {
    font-size: 14px;
    padding: 8px;
    width: 90%;
    max-width: 300px;
  }

  .search-box button {
    padding: 8px 15px;
    font-size: 14px;
  }

  .school-list li {
    font-size: 14px;
    padding: 8px;
  }

  .meal-table th, .meal-table td {
    font-size: 12px;
    padding: 8px;
  }

  .week-navigation button {
    padding: 8px;
    font-size: 14px;
    margin: 5px;
  }

  .timetable-table th, .timetable-table td {
    padding: 8px;
    font-size: 12px;
  }
  .week-navigation {
    font-size: 2px;
  }
}

  /* 전체 컨테이너 설정 */
.container {
    text-align: center; /* 콘텐츠 중앙 정렬 */
    padding: 20px;
    font-family: Arial, sans-serif;
  }
  
  /* 버튼을 포함한 영역 설정 */
  .share-buttons {
    display: flex;
    justify-content: center; /* 버튼들을 중앙에 정렬 */
    gap: 20px; /* 버튼 사이 간격 */
    margin-top: 20px;
  }
  
  /* 버튼 스타일링 */
  button {
    background-color: #4CAF50; /* 버튼 배경 색 */
    color: white; /* 글자 색 */
    border: none;
    padding: 12px 24px; /* 버튼 크기 조정 */
    font-size: 16px;
    border-radius: 8px; /* 둥근 모서리 */
    cursor: pointer;
    transition: background-color 0.3s ease; /* 버튼 호버 시 부드러운 색 변화 */
  }
  
  button:hover {
    background-color: #45a049; /* 호버 시 배경색 */
  }
  
  button:focus {
    outline: none; /* 포커스 시 기본 테두리 제거 */
  }
  /* 전체 배경 흐리게 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 흐린 배경 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  
  /* 팝업 박스 스타일 */
  .popup-box {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  /* 제목 스타일 */
  .popup-box h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
  }
  
  /* 설명 텍스트 */
  .popup-box p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
  }
  
  /* 버튼 스타일 */
  .popup-box button {
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    margin: 5px;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  
  /* 동의 버튼 */
  .popup-box .agree-btn {
    background-color: #4CAF50;
    color: white;
  }
  
  .popup-box .agree-btn:hover {
    background-color: #45a049;
  }
  
  /* 거부 버튼 */
  .popup-box .disagree-btn {
    background-color: #f44336;
    color: white;
  }
  
  .popup-box .disagree-btn:hover {
    background-color: #e53935;
  }
/* 전체 페이지 높이 설정 */
/* 전체 페이지 높이 설정 */
/* 전체 페이지 높이 설정 */
p {
  font-size :12px;
  margin-top: 10px;
  color: #808080;
}
a{
  text-decoration-line: none;
  color: #808080;
}
/* 스피너 스타일 */
.spinner {
  margin: 0 auto;
  border: 4px solid #f3f3f3; /* 배경색 */
  border-top: 4px solid #3498db; /* 스피너 색 */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite; /* 회전 애니메이션 */

}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}