.tgwv-form-submit-toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1060;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  width: calc(100% - 2rem);
  max-width: 22rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(22, 163, 74, 0.25);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tgwv-form-submit-toast.is-open {
  opacity: 1;
  transform: translateY(0);
}

.tgwv-form-submit-toast__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

.tgwv-form-submit-toast__body {
  flex: 1 1 auto;
  min-width: 0;
}

.tgwv-form-submit-toast__title {
  margin: 0 0 0.15rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
}

.tgwv-form-submit-toast__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.68);
  overflow-wrap: anywhere;
}

.tgwv-form-submit-toast__countdown {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(15, 23, 42, 0.55);
}

.tgwv-form-submit-toast__action {
  margin-top: 0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tgwv-brand, #003466);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.tgwv-form-submit-toast__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  margin: -0.15rem -0.15rem 0 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(15, 23, 42, 0.5);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.tgwv-form-submit-toast__close:hover,
.tgwv-form-submit-toast__close:focus-visible {
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.85);
}

@media (max-width: 575.98px) {
  .tgwv-form-submit-toast {
    top: auto;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tgwv-form-submit-toast {
    transition: none;
  }
}
