/* Status toast notifications */

.status-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  gap: 8px;
  padding-top: 12px;
}

.status-toast {
  pointer-events: auto;
  font-family: 'pix', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid;
  background: rgba(5, 0, 7, 0.92);
  backdrop-filter: blur(4px);
  max-width: 480px;
  width: max-content;
  text-align: center;
  transform: translateY(-120%);
  opacity: 0;
  animation: status-in 0.35s ease-out forwards;
}

.status-toast.status-out {
  animation: status-out 0.3s ease-in forwards;
}

/* Error — accent pink/red, hot against cold purple bg */
.status-toast[data-type="error"] {
  color: #ff6b9d;
  border-color: rgba(255, 107, 157, 0.4);
  animation: status-in 0.35s ease-out forwards, status-glow-error 2s ease-in-out 0.35s infinite;
}
.status-toast[data-type="error"].status-out {
  animation: status-out 0.3s ease-in forwards;
}

/* Warning — amber */
.status-toast[data-type="warn"] {
  color: #f5a623;
  border-color: rgba(245, 166, 35, 0.4);
  animation: status-in 0.35s ease-out forwards, status-glow-warn 2s ease-in-out 0.35s infinite;
}
.status-toast[data-type="warn"].status-out {
  animation: status-out 0.3s ease-in forwards;
}

/* Info — cyan */
.status-toast[data-type="info"] {
  color: #57cbde;
  border-color: rgba(87, 203, 222, 0.4);
  animation: status-in 0.35s ease-out forwards, status-glow-info 2s ease-in-out 0.35s infinite;
}
.status-toast[data-type="info"].status-out {
  animation: status-out 0.3s ease-in forwards;
}

/* Slide in/out */
@keyframes status-in {
  from { transform: translateY(-120%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes status-out {
  from { transform: translateY(0); opacity: 1; }
  to   { transform: translateY(-120%); opacity: 0; }
}

/* Breathing glows */
@keyframes status-glow-error {
  0%, 100% { box-shadow: 0 0 6px rgba(255, 107, 157, 0.15), 0 0 20px rgba(255, 107, 157, 0.05); }
  50%      { box-shadow: 0 0 12px rgba(255, 107, 157, 0.35), 0 0 36px rgba(255, 107, 157, 0.12); }
}

@keyframes status-glow-warn {
  0%, 100% { box-shadow: 0 0 6px rgba(245, 166, 35, 0.15), 0 0 20px rgba(245, 166, 35, 0.05); }
  50%      { box-shadow: 0 0 12px rgba(245, 166, 35, 0.35), 0 0 36px rgba(245, 166, 35, 0.12); }
}

@keyframes status-glow-info {
  0%, 100% { box-shadow: 0 0 6px rgba(87, 203, 222, 0.15), 0 0 20px rgba(87, 203, 222, 0.05); }
  50%      { box-shadow: 0 0 12px rgba(87, 203, 222, 0.35), 0 0 36px rgba(87, 203, 222, 0.12); }
}
