/* ==========================================================================
   AEVOS CONVERGENCE — TOASTR NOTIFICATION STYLES (CENTERED)
   ========================================================================== */
#toast-container {
  position: absolute;
  z-index: 999999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 90%;
  max-width: 360px;
}

#toast-container.toast-top-center {
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
}

#toast-container.toast-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

body > #toast-container.toast-top-center {
  position: fixed;
  top: 24px;
}

body > #toast-container.toast-center {
  position: fixed;
}

#toast-container > div {
  pointer-events: auto;
}

.toast {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #FFFFFF;
  font-family: 'Outfit', -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  background-color: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: toastFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastFadeIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.toast.toast-hiding {
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.25s ease-out;
}

.toast-success {
  background: linear-gradient(135deg, #0F172A 20%, #064E3B 100%);
  border-color: #10B981;
}

.toast-info {
  background: linear-gradient(135deg, #0F172A 20%, #2E1065 100%);
  border-color: #7C3AED;
}

.toast-warning {
  background: linear-gradient(135deg, #0F172A 20%, #78350F 100%);
  border-color: #F59E0B;
}

.toast-error {
  background: linear-gradient(135deg, #0F172A 20%, #7F1D1D 100%);
  border-color: #EF4444;
}

.toast-content-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.toast-icon-badge {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast-body-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.toast-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 2px;
  color: #FFFFFF;
}

.toast-message {
  font-size: 0.8rem;
  color: #E2E8F0;
  line-height: 1.35;
}

.toast-close-button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 4px 6px;
  transition: color 0.15s ease;
}

.toast-close-button:hover {
  color: #FFFFFF;
}

.toast-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  width: 100%;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  transition: width linear;
}

.toast-success .toast-progress { background: #10B981; }
.toast-info .toast-progress { background: #7C3AED; }
.toast-warning .toast-progress { background: #F59E0B; }
.toast-error .toast-progress { background: #EF4444; }

