.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998; /* 팝업 뒤에 위치 */
  display: none;
}

/* 기존의 .popup-title 스타일 */
.popup-box {
  position: fixed; /* 고정된 위치 */
  top: 50%; /* 화면의 중앙에서 상단으로 50% 이동 */
  left: 50%; /* 화면의 중앙에서 좌측으로 50% 이동 */
  transform: translate(-50%, -50%);
  padding: 10 20px;
  border-radius: 5px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1); /* 윤곽선 쉐도우 효과 */
  width: 300px; /* 원하는 너비로 조절 가능 */
  background-color: #fff;
  z-index: 9999;
  padding: 20px;
}
.popup-header {
  font-weight: bold;
  margin-bottom: 0px; /* 간격 추가 */
  text-align: center; /* 추가: 타이틀을 중앙으로 */
  margin: 0;
}

.popup-title {
  margin: 0; /* 추가: 상단 마진 제거 */
}
.popup-title.success {
  background: linear-gradient(to right, #ffd700, #ffa500);
  color: white; /* 텍스트 색상 흰색으로 */
}

.popup-title.warning {
  background: linear-gradient(to right, #ff8c00, #ff4500);
  color: white;
}

.popup-title.error {
  background: linear-gradient(to right, #ff4500, #b22222);
  color: white;
}


.popup-title.red {
  background: linear-gradient(to right, #bb0022, #bb0022);
  color: white;
}
.popup-content {
  margin-bottom: 30px; /* 간격 추가 */
  margin: 20px 0; /* 간격 추가 */
  text-align: center; /* 추가: 내용을 중앙으로 */
  font-weight: bold; /* 추가: 내용 굵게 */
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 반투명한 검은색 */
  z-index: 9998; /* 팝업 뒤에 위치 */
  display: none;
}

.popup-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
  width: 300px;
  background-color: #fff;
  z-index: 9999;
  overflow: hidden; /* 추가: 헤더와 푸터의 그라데이션을 꽉 채우기 위해 */
}

.popup-header {
  font-weight: bold;
  text-align: center; /* 추가: 타이틀을 중앙으로 */
}

.popup-title {
  margin: 0; /* 추가: 상단 마진 제거 */
}

.popup-title.success {
  background: linear-gradient(to right, #ffd700, #ffa500);
  color: white;
}

.popup-title.warning {
  background: linear-gradient(to right, #ff8c00, #ff4500);
  color: white;
}

.popup-title.error {
  background: linear-gradient(to right, #0E124D, #181058);
  color: white;
}

.popup-content {
  margin: 20px 0; /* 간격 추가 */
  text-align: center; /* 추가: 내용을 중앙으로 */
  font-weight: bold; /* 추가: 내용 굵게 */
  font-size: 15px;
}

.popup-footer {
  text-align: center;
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.close-btn {
  padding: 5px 15px; /* 버튼 크기 줄임 */
  border: none;
  background: none; /* 기본 배경색 제거 */
  background-color: #251d45;
  padding: 10px;
  width: 60%;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.special-title {
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 18px;
  color: #bb0022;
}
.special-content {
  font-weight: bold;
  font-size: 16px;
  color: #bb0022;
}