/* Themed toasts for site (used by assets/js/contact-submit.js) */
:root {
  --rts-toast-bg-start: #0b0b0b;
  --rts-toast-bg-end: #161616;
  --rts-toast-color: #ffffff;
  --rts-toast-accent-success: #7bd389;
  --rts-toast-accent-danger: #e06565;
}

.rts-toast-container.toast-container {
  z-index: 10800;
}


.rts-toast-container .toast {
  background: linear-gradient(135deg, var(--rts-toast-bg-start) 0%, var(--rts-toast-bg-end) 100%) !important;
  color: var(--rts-toast-color) !important;
  border: 1px solid rgba(255,255,255,0.04) !important;
  border-radius: 12px !important;
  /* Make toast larger and more prominent */
  width: 520px !important;
  min-width: 420px !important;
  max-width: 720px !important;
  box-shadow: 0 18px 40px rgba(2,6,23,0.7), inset 0 1px 0 rgba(255,255,255,0.02);
  overflow: hidden;
  display: flex !important;
  align-items: center;
  padding: 0.2rem !important;
}

.rts-toast-container .toast .toast-body {
  padding: 1.25rem 1.75rem !important;
  font-size: 2.5rem !important;
  line-height: 1.4;
  font-weight: 700;
  color: var(--rts-toast-color) !important;
  flex: 1 1 auto;
}

.rts-toast-container .toast .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.rts-toast-container .toast.text-bg-success {
  border-left: 4px solid var(--rts-toast-accent-success) !important;
  background: linear-gradient(135deg, var(--rts-toast-bg-start) 0%, #0f1910 100%) !important;
}

.rts-toast-container .toast.text-bg-danger {
  border-left: 4px solid var(--rts-toast-accent-danger) !important;
  background: linear-gradient(135deg, var(--rts-toast-bg-start) 0%, #1a0f10 100%) !important;
}

@media (max-width: 576px) {
  .rts-toast-container.toast-container { left: 0.5rem; right: 0.5rem; }
  .rts-toast-container .toast { width: auto; max-width: calc(100% - 1rem); }
}

/* Position tweaks for desktop */
.rts-toast-container.toast-container.position-fixed.top-0.end-0 {
  top: 72px !important; /* position below header */
  right: 18px !important;
}

/* Make the toast content larger on wide screens */
@media (min-width: 1200px) {
  .rts-toast-container .toast { width: 920px !important; min-width: 760px !important; }
  .rts-toast-container .toast .toast-body { font-size: 2rem !important; padding: 1.4rem 2rem !important; }
}

/* Slightly enlarge close button for visibility */
.rts-toast-container .toast .btn-close {
  width: 1.8rem;
  height: 1.8rem;
  opacity: 1;
}

