/**
 * Toast Notification System - Dark Neon Theme
 * Estilos para notificações toast modernas
 */

#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 99999;
  pointer-events: none;
}

.toast-notification {
  background: linear-gradient(135deg, #1a2332, #1f2937);
  border: 1px solid rgba(255,255,255,.15);
  border-left: 4px solid;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  min-width: 300px;
  max-width: 400px;
  box-shadow: 0 12px 32px rgba(0,0,0,.45), 0 0 16px rgba(0,230,255,.12);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.toast-notification.hide {
  opacity: 0;
  transform: translateX(400px);
}

.toast-notification.success {
  border-left-color: #00ff88;
  background: linear-gradient(135deg, #1a2e26, #1f3329);
}

.toast-notification.error {
  border-left-color: #ff4466;
  background: linear-gradient(135deg, #2e1a20, #331f23);
}

.toast-notification.warning {
  border-left-color: #ffd666;
  background: linear-gradient(135deg, #2e2a1a, #332f1f);
}

.toast-notification.info {
  border-left-color: #00d4ff;
  background: linear-gradient(135deg, #1a2a2e, #1f2f33);
}

.toast-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.toast-notification.success .toast-icon { color: #00ff88; text-shadow: 0 0 8px rgba(0,255,136,.5); }
.toast-notification.error .toast-icon { color: #ff4466; text-shadow: 0 0 8px rgba(255,68,102,.5); }
.toast-notification.warning .toast-icon { color: #ffd666; text-shadow: 0 0 8px rgba(255,214,102,.5); }
.toast-notification.info .toast-icon { color: #00d4ff; text-shadow: 0 0 8px rgba(0,212,255,.5); }

.toast-content {
  flex: 1;
  color: #f0f4f8;
}

.toast-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
  color: #ffffff;
}

.toast-message {
  font-size: 13px;
  color: #b8c5d0;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: #b8c5d0;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.toast-close:hover {
  background: rgba(255,255,255,.12);
  color: #ffffff;
}

@media (max-width: 480px) {
  #toast-container {
    left: 10px;
    right: 10px;
    top: 10px;
  }
  .toast-notification {
    min-width: auto;
    max-width: 100%;
  }
}
