body.wedo-notify-open {
  overflow: hidden;
}

.wedo-notify {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  padding-top: max(20px, env(safe-area-inset-top));
  padding-bottom: max(20px, env(safe-area-inset-bottom));
}

.wedo-notify[hidden] {
  display: none !important;
}

.wedo-notify__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
}

.wedo-notify__panel {
  position: relative;
  width: min(100%, 440px);
  padding: 28px 28px 24px;
  border-radius: 16px;
  background: var(--page-bg);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  text-align: center;
}

.wedo-notify__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
}

.wedo-notify__icon svg {
  width: 26px;
  height: 26px;
}

.wedo-notify--error .wedo-notify__icon {
  background: rgba(192, 57, 43, 0.1);
  color: var(--error, #c0392b);
}

.wedo-notify--info .wedo-notify__icon {
  background: var(--section-alt, rgba(15, 23, 42, 0.06));
  color: var(--heading);
}

.wedo-notify--success .wedo-notify__icon {
  background: rgba(6, 122, 79, 0.12);
  color: var(--success, #067a4f);
}

.wedo-notify__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.25px;
  line-height: 1.3;
}

.wedo-notify__message {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--body-text, var(--muted));
}

.wedo-notify__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wedo-notify__btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.wedo-notify__btn--primary {
  background: var(--accent);
  color: var(--on-accent);
}

.wedo-notify__btn--primary:hover {
  background: var(--accent-hover);
}

.wedo-notify__btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--heading);
}

.wedo-notify__btn--ghost:hover {
  background: var(--section-alt, rgba(15, 23, 42, 0.04));
}

.wedo-notify__btn:focus-visible {
  outline: 2px solid var(--heading);
  outline-offset: 2px;
}
