/* Toast base */
.notify-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 360px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  background: #111827; /* dark background to contrast AnyPay's style */
  color: #fff;
  padding: 14px 16px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans Thai", sans-serif;
}

/* Visible state */
.notify-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Content layout */
.notify-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: start;
}

.notify-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  grid-column: 1 / -1;
}

.notify-message {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  grid-column: 1 / -1;
}

.notify-actions {
  display: flex;
  gap: 8px;
  grid-column: 1 / -1;
  align-items: center;
  margin-top: 6px;
}

.notify-link {
  color: #60a5fa; /* Tailwind-like blue-400 */
  text-decoration: none;
  font-weight: 600;
}
.notify-link:hover,
.notify-link:focus {
  text-decoration: underline;
}

.notify-close {
  margin-left: auto;
  border: none;
  background: #1f2937; /* gray-800-ish */
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}
.notify-close:hover,
.notify-close:focus {
  background: #374151; /* gray-700-ish */
}

/* Small screens: full width */
@media (max-width: 420px) {
  .notify-toast {
    right: 12px;
    left: 12px;
    max-width: none;
  }
}