/* CSS 코드 */
.overlay {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 투명한 검은색 레이어 */
}

.modal-container {
  display: none;
  position: fixed;
  z-index: 99;
  left: 50%;
  top: 20%;
  transform: translate(-50%, 0);
  width: 500px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.modal-content {
  padding: 20px;
  color: black; /* 텍스트의 색상을 지정하세요 */
  text-align: center;
}

.modal-message {
  font-size: 18px; /* 메시지의 폰트 크기 설정 */
  margin-bottom: 20px; /* 하단 여백 추가 */
  color: black; /* 텍스트의 색상을 지정하세요 */
  font-size: 16px; /* 폰트 크기를 조정하세요 */
}

.close-modal {
  color: #aaa;
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 28px;
  font-weight: bold;
  z-index: 3;
}

.close-modal:hover,
.close-modal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal_button-container {
  margin-top: 20px;
  display: flex; /* 버튼을 가로로 배치하기 위해 flexbox 사용 */
  justify-content: center; /* 가운데 정렬 */
  flex-direction: row; /* 수평 방향으로 배치 */
}

/* 버튼 요소에 추가된 스타일 */
.custom-button {
  margin: 0 5px;
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  font-size: 16px;
}

.confirm-button {
  background-color: #007bff; /* 파란 계열의 진한색 */
  color: #fff;
}

.confirm-button:hover {
  background-color: #0056b3; /* 파란 계열의 진한색 (더 진한 색상으로 호버됨) */
}

.cancel-button {
  background-color: #E9E9E9; /* 하얀색 계열의 옅은색 */
  color: #000; /* 회색 */
}
.cancel-button:hover {
  background-color: #C9C9C9; /* 회색 계열의 밝은색 (더 밝은 색상으로 호버됨) */
}