/* MH Store — toasts match auth inline notices (green / red / yellow / blue) */
.notification-container {
  top: 84px;
  right: 16px;
  left: auto;
  bottom: auto;
  max-width: min(420px, calc(100vw - 32px));
  z-index: 20050;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notification {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-radius: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 12px;
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.25;
  font-weight: 500;
  text-align: start;
  pointer-events: auto;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateX(110%);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

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

.notification.hide {
  transform: translateX(110%);
  opacity: 0;
}

.notification.success {
  background: rgba(40, 167, 69, 0.14);
  border-color: rgba(72, 220, 120, 0.42);
  color: rgba(200, 255, 215, 0.98);
}

.notification.warning {
  background: rgba(255, 193, 7, 0.12);
  border-color: rgba(255, 193, 7, 0.38);
  color: #ffc107;
}

.notification.error {
  background: rgba(220, 53, 69, 0.16);
  border-color: rgba(255, 107, 107, 0.42);
  color: rgba(255, 200, 200, 0.98);
}

.notification.info {
  background: rgba(0, 112, 243, 0.14);
  border-color: rgba(0, 112, 243, 0.4);
  color: rgba(200, 225, 255, 0.98);
}

.notification-icon {
  flex-shrink: 0;
  font-size: 0.85rem;
  opacity: 0.9;
  width: 1em;
  text-align: center;
  margin-top: 2px;
}

.notification-body {
  flex: 1;
  min-width: 0;
}

.notification-title {
  display: none;
}

.notification-message {
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  line-height: 1.45;
  font-weight: inherit;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  unicode-bidi: plaintext;
}

.notification-header,
.notification-close,
.notification-progress {
  display: none !important;
}

[dir="rtl"] .notification-container {
  right: auto;
  left: 16px;
}

[dir="rtl"] .notification {
  transform: translateX(-110%);
}

[dir="rtl"] .notification.show {
  transform: translateX(0);
}

[dir="rtl"] .notification.hide {
  transform: translateX(-110%);
}
