/* --- Notifications --- */
.notification-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 100000005 !important; /* Above modal-overlay (100000000) */
  pointer-events: none;
}

.notification {
  pointer-events: auto;
  background: var(--bg-dark);
  border: 1px solid var(--border-glass);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--border-radius-md);
  padding: 1rem 1.5rem;
  min-width: 280px;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  animation: slideInRight 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.notification-content {
  font-size: 0.9rem;
  font-weight: 500;
}

.notification.success {
  border-left-color: var(--color-accent);
  box-shadow: 0 5px 15px rgba(0, 255, 87, 0.1);
}

.notification.error {
  border-left-color: var(--color-danger);
  box-shadow: 0 5px 15px rgba(255, 0, 85, 0.1);
}

.btn-notification-close {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1rem;
}

.btn-notification-close:hover {
  color: white;
}


/* Suppress outside toast notifications during active arcade gameplay */
body.game-active .notification-container,
body.game-fullscreen-open .notification-container,
body.mobile-fullscreen-active .notification-container,
#active-game-container.active-game ~ .notification-container,
.game-window-container.fullscreen-active ~ .notification-container {
  display: none !important;
}
