/*
  ============================================================
  MEMBERS WAREHOUSE — Toast Notification Styles
  ============================================================
*/

#mw-toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
  max-width: 380px;
}

.mw-toast {
  pointer-events: auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.88rem;
  color: #1f1f1f;
  border-left: 4px solid #0d1b2a;
  min-width: 280px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

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

.mw-toast.mw-toast-hide {
  transform: translateX(120%);
  opacity: 0;
}

.mw-toast-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
}

.mw-toast-success { border-left-color: #22c55e; }
.mw-toast-success .mw-toast-icon { background: #22c55e; }

.mw-toast-error { border-left-color: #ef4444; }
.mw-toast-error .mw-toast-icon { background: #ef4444; }

.mw-toast-warn { border-left-color: #f59e0b; }
.mw-toast-warn .mw-toast-icon { background: #f59e0b; }

.mw-toast-info { border-left-color: #ff7a45; }
.mw-toast-info .mw-toast-icon { background: #ff7a45; }

.mw-toast-message {
  flex: 1;
  line-height: 1.4;
  word-break: break-word;
}

.mw-toast-close {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: #999;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.2rem;
  border-radius: 4px;
  transition: all 0.15s;
}

.mw-toast-close:hover {
  color: #1f1f1f;
  background: rgba(0, 0, 0, 0.05);
}

@media (max-width: 600px) {
  #mw-toast-container {
    top: 0.6rem;
    right: 0.6rem;
    left: 0.6rem;
    max-width: none;
  }
  .mw-toast {
    min-width: 0;
    font-size: 0.85rem;
  }
}
