  /* CSS 스타일 */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f4f4f9;
}

.buttons button {
  padding: 5px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f4f4f4;
  cursor: pointer;
}

.buttons button.active {
  background-color: #080b33;
  color: white;
  cursor: default;
}

.buttons button:hover:not(.active) {
  background-color: #ddd;
}

.sidebar {
  width: 200px;
  background-color: #0056b3;
  height: 100vh;
  position: fixed;
  color: #fff;
  padding-top: 20px;

  display: flex;
  flex-direction: column;
   justify-content: space-between;
}

  .sidebar .menu {
    display: flex;
    flex-direction: column;
    gap: 1px; /* 메뉴 항목 간격 */
  }

.sidebar a {
  display: block; !important;
  padding: 15px 10px;
  text-decoration: none;
  color: #fff;
  font-size: 20px;
}

.sidebar a:hover {
  background-color: #34495e;
}

  /* 로그아웃 버튼 위치 조정 */
  .sidebar .logout {
    margin-top: auto; /* 자동으로 아래로 밀기 */
    margin-bottom: 50px; /* 하단에서 30px 위로 올림 */
    align-self: flex-start; /* 버튼이 왼쪽 정렬되도록 설정 */
    font-size: 20px;
  }

.content {
  margin-left: 220px;
  padding: 20px;
}

.header {
  margin-bottom: 20px; /* 제목과 표 사이 간격 */
}

.header h1 {
  margin-bottom: 10px; /* 버튼과 제목 사이 간격 */
  font-size: 20px;
  font-weight: bold;
}

.header .filter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header .buttons {
  text-align: left; /* 버튼이 왼쪽 정렬되도록 설정 */
  display: flex;
  gap: 5px;
}

.header .buttons a {
  display: inline-block;
  padding: 5px 10px;
  background-color: #0056b3;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  text-align: center;
}

.header .buttons .btn {
  padding: 5px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid #566779;
  background-color: #fff;
  color: #455361;
  font-weight: bold;
}

.header .buttons a:hover {
  background-color: #34495e;
}

.header .buttons .btn-active {
  background-color: #010413;
  color: white;
  border: none;
}

.header .buttons .btn-active:hover {
  background-color: #080b33;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

table th, table td {
  padding: 8px; /* 기존 15px에서 줄임 */
  text-align: left;
  line-height: 1.2; /* 추가로 행 간격 조정 */
}

table th {
  background-color: #0056b3;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
}

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

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

table td {
  border-bottom: 1px solid #ddd;
}

  input[type="date"] {
    font-size: 16px; /* 폰트 크기 확대 */
    padding: 10px;   /* 내부 여백 추가 */
    height: 20px;    /* 높이 설정 */
    border-radius: 5px; /* 모서리 둥글게 */
    border: 1px solid #ccc; /* 테두리 */
  }

/*
  !* 공통 메뉴 스타일 *!
  .menu li {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .menu a {
    display: block;
    padding: 10px 15px;
    font-size: 16px; !* 글씨 크기 통일 *!
    color: #000;
    text-decoration: none;
    font-weight: bold;
  }*/

  .menu a:hover {
    background-color: #f0f0f0;
    color: #3498db;
  }


  .pagination {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
  }
  .pagination li {
    margin: 0 5px;
  }
  .pagination a {
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #007bff;
  }
  .pagination a.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
  }
  .pagination a:hover {
    background-color: #ddd;
  }




  /* 모달 스타일 */
  .modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    z-index: 1;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 400px;
    font-family: Arial, sans-serif;
  }

  .modal h2 {
    font-size: 20px;
    color: #333333;
    margin-bottom: 20px;
    text-align: center;
  }