/* ===== 입장 팝업 모달 ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-box {
  position: relative;
  width: min(480px, 90vw);
  background: #fefefe;
  border-radius: 10px;
  overflow: hidden;
  transform: translateY(16px);
  transition: transform 0.3s ease;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  padding: 20px;
}

.popup-overlay.active .popup-box {
  transform: translateY(0);
}

.popup-img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #000;
  border-radius: 8px;
  padding: 20px;
  background: rgb(245, 243, 243);
}

.popup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #1a1a1a;
  margin-top: 30px;
  border-radius: 5px;
}

.popup-today-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.popup-today-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #c9a96e;
  cursor: pointer;
}

.popup-close-btn {
  background: none;
  border: none;
  color: #ccc;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}

.popup-close-btn:hover {
  color: #fff;
}

@media (max-width: 480px) {
  .popup-box {
    width: 92vw;
  }
}

