/* 오버레이 */
.custom-popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 9998;
  display: none;
}

/* 팝업 래퍼 (flex로 세로 배치) */
.custom-popup {
  display: flex;
  flex-direction: column;
  background: #FFF;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  overflow: hidden;
}

/* 팝업 콘텐츠 영역 */
.popup-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  /* 높이는 inline style 로 설정됨 */
}

/* 닫기/오늘하루 영역 */
.popup-controls {
  background: #f5f5f5;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 오늘 하루 보지 않기 */
.popup-controls .hide-for-today {
  padding: 0;
  border: none;
  background: none;
  font-size: 15px;
  color: #1d1d1d;
  font-weight: 400;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.popup-controls .hide-for-today::before {
  content: "";
  display: inline-block;
  width: 16px; height: 16px;
  margin-right: 8px;
  border: 1px solid #ccc;
  border-radius: 2px;
}

/* 닫기 버튼 */
.popup-controls .close-popup {
  padding: 0;
  border: none;
  background: none;
  font-size: 15px;
  color: #888;
  font-weight: 400;
  cursor: pointer;
}

/* 페이드인, 페이드아웃 효과 */
/* 팝업과 오버레이 기본 상태: 투명도 1, 트랜지션 정의 */
.custom-popup,
.custom-popup-overlay {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

/* fade-out 클래스가 붙으면 opacity→0으로 0.3초간 서서히 사라짐 */
.custom-popup.fade-out,
.custom-popup-overlay.fade-out {
  opacity: 0;
} 