/* ===== TOAST NOTIFICATIONS ===== */
:root {
  /* Colors */
  --primary-original: #2a2f5b;
  --success-500: #22c55e;
  --success-600: #16a34a;
  --success-50: #f0fdf4;
  --error-500: #ef4444;
  --error-600: #dc2626;
  --error-50: #fef2f2;
  --warning-500: #f59e0b;
  --neutral-800: #262626;
  --neutral-400: #a3a3a3;
  --neutral-100: #f5f5f5;
  --neutral-600: #525252;

  /* Border Radius */
  --radius-lg: 0.75rem;
  --radius-sm: 0.375rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  /* Transitions */
  --transition-all: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px;
  min-width: 320px;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid;
  animation: toastEnter 0.3s ease-out;
}

@keyframes toastEnter {
  from {
    opacity: 0;
    transform: translateX(100%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

.toast.success {
  border-left-color: var(--success-500);
}

.toast.error {
  border-left-color: var(--error-500);
}

.toast.warning {
  border-left-color: var(--warning-500);
}

.toast.info {
  border-left-color: var(--primary-original);
}

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.toast.success .toast-icon {
  background: var(--success-50);
  color: var(--success-600);
}

.toast.error .toast-icon {
  background: var(--error-50);
  color: var(--error-600);
}

.toast.warning .toast-icon {
  background: #fef3c7;
  color: var(--warning-500);
}

.toast.info .toast-icon {
  background: rgba(42, 47, 91, 0.1);
  color: var(--primary-original);
}

.toast-content {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--neutral-800);
  line-height: 1.5;
}

.toast-close {
  background: none;
  border: none;
  color: var(--neutral-400);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: var(--transition-all);
}

.toast-close:hover {
  background: var(--neutral-100);
  color: var(--neutral-600);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .toast {
    min-width: 280px;
    max-width: 320px;
    padding: 12px 16px;
  }
}
























/* ===== INLINE MESSAGE STYLES ===== */
.inline-message-container {
  margin-bottom: var(--space-4);
  width: 100%;
}

.inline-message {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  animation: messageSlide 0.3s ease-out;
  border-left: 4px solid;
}

.inline-message.success {
  background: var(--secondary-green-light);
  color: var(--secondary-green);
  border-left-color: var(--secondary-green);
}

.inline-message.error {
  background: #fee2e2;
  color: #dc2626;
  border-left-color: #dc2626;
}

.inline-message.warning {
  background: var(--secondary-gold-light);
  color: #b45309;
  border-left-color: #b45309;
}

.inline-message.info {
  background: rgba(42, 47, 91, 0.1);
  color: var(--primary);
  border-left-color: var(--primary);
}

.inline-message i {
  font-size: 1.1rem;
}

.inline-message span {
  flex: 1;
  line-height: 1.4;
}

.inline-message .close-btn {
  background: none;
  border: none;
  color: currentColor;
  opacity: 0.6;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 0.9rem;
}

.inline-message .close-btn:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.05);
}

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