/* ─── TOAST NOTIFICATIONS (Zen System) ───────────────────── */
.toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  pointer-events: none;
}

.toast {
  min-width: 300px;
  max-width: 400px;
  padding: 1.2rem 1.8rem;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-left: 4px solid var(--saffron);
  transform: translateX(120%);
  transition: transform 0.6s var(--ease-silk), opacity 0.6s;
  pointer-events: all;
  opacity: 0;
  font-family: var(--f-body);
  font-size: 0.9rem;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.2rem;
  color: var(--saffron);
}

.toast-error {
  border-left-color: #d9534f;
}

.toast-error .toast-icon {
  color: #d9534f;
}

/* ─── SPINNERS & LOADING STATES ─────────────────────────── */
.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 50%;
  left: 50%;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn-modal-submit.btn-loading::after {
  border-top-color: var(--saffron);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── FOCUS ZEN ─────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--saffron);
  outline-offset: 4px;
}
