/* Overlay háttér */
#holiday-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  transition: background 2s ease, opacity 2s ease;
}

/* amikor a háttér aktív */
#holiday-popup-overlay.visible-bg {
  background: rgba(0, 0, 0, 0.62);
  opacity: 1;
}

/* Modál doboz */
.holiday-popup-modal {
  background: #ffffff;
  max-width: 560px;
  width: 92%;
  padding: 22px 22px 18px;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.28);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: relative;
  text-align: center;
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.holiday-popup-modal.visible {
  transform: scale(1);
  opacity: 1;
}

.holiday-popup-modal.closing {
  transform: scale(0.7);
  opacity: 0;
}

/* Cím/badge */
.holiday-popup-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1e40af;
  margin: 2px 0 10px;
}

.holiday-popup-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 14px 0;
  color: #111827;
}

.holiday-popup-content {
  display: grid;
  gap: 10px;
  margin: 0 0 16px 0;
}

.holiday-popup-section {
  text-align: center;
  padding: 12px 12px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.holiday-popup-section-soft {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.holiday-popup-section-title {
  font-weight: 800;
  font-size: 14px;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.holiday-popup-section-text {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}

/* Gombsor */
.holiday-popup-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.holiday-popup-btn {
  cursor: pointer;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.holiday-popup-btn-primary {
  background: #ff6a00;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.holiday-popup-btn-primary:hover {
  background: #e55f00;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.22);
}

/* X ikon */
.holiday-popup-close-icon {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  color: #64748b;
  user-select: none;
}

.holiday-popup-close-icon:hover {
  background: #f1f5f9;
  color: #0f172a;
}

@media (max-width: 480px) {
  .holiday-popup-modal {
    padding: 18px 16px 14px;
  }
  .holiday-popup-title {
    font-size: 18px;
  }
  .holiday-popup-section-text {
    font-size: 13px;
  }
}
