/* 커스텀 알림창 오버레이 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(47, 53, 66, 0.6); /* 어두운 네이비톤 투명 배경 */
  backdrop-filter: blur(4px); /* 배경 흐리게 처리 (고급스러운 효과) */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* 최상단 유지 */
  transition: all 0.3s ease;
}

/* 알림창 본체 */
.modal-content {
  background: white;
  width: 90%;
  max-width: 350px;
  padding: 30px;
  border-radius: 20px; /* 더 둥글게 */
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 팝업 애니메이션 */
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

#alertTitle {
  margin: 0 0 15px 0;
  font-size: 1.3rem;
  color: var(--text-color);
  font-weight: 800;
}

#alertMessage {
  font-size: 1rem;
  color: #57606f;
  line-height: 1.5;
  margin-bottom: 25px;
  word-break: keep-all;
}

/* 알림창 확인 버튼 전용 스타일 */
#close-alert {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 0;
  width: 100%;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

#close-alert:hover {
  background-color: #357abd;
}