.updating-popup-open {
  overflow: hidden;
}

.updating-popup {
  position: fixed;
  inset: 0;
  z-index: 200001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.updating-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

.updating-popup__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(0, 240, 255, 0.12), transparent 42%),
    rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(14px);
}

.updating-popup__dialog {
  position: relative;
  width: min(100%, 480px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(9, 14, 27, 0.98) 0%, rgba(5, 10, 19, 0.98) 100%);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 240, 255, 0.06);
  color: #f8fafc;
}

.updating-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.updating-popup__close:hover {
  transform: scale(1.04);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.cally-form-alert {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(248, 113, 113, 0.3);
  background: rgba(127, 29, 29, 0.18);
  color: #fecaca;
  font-size: 14px;
  line-height: 1.5;
}

.cally-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.updating-popup__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.08);
  color: #8be9ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.updating-popup__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #00f0ff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

.updating-popup__title {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: "Sora", var(--font-main);
  font-size: clamp(1.75rem, 4vw, 2.2rem);
  line-height: 1.08;
}

.updating-popup__message {
  margin: 0;
  color: rgba(226, 232, 240, 0.84);
  font-size: 1rem;
  line-height: 1.7;
}

.updating-popup__actions {
  margin-top: 24px;
}

.updating-popup__button {
  min-width: 132px;
  padding: 12px 18px;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.18), rgba(112, 0, 255, 0.14));
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.updating-popup__button:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 240, 255, 0.34);
  box-shadow: 0 12px 32px rgba(0, 240, 255, 0.14);
}

@media (max-width: 640px) {
  .updating-popup {
    padding: 16px;
  }

  .updating-popup__dialog {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .updating-popup__close {
    top: 12px;
    right: 12px;
  }
}
