/* ===== MIRAGESTEP SNEAKERS Toast Notification Styles ===== */
.hs-toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.hs-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  max-width: 420px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-left: 4px solid;
  pointer-events: auto;
  animation: hs-slideInRight 0.3s ease-out;
  position: relative;
  overflow: hidden;
}

.hs-toast::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: currentColor;
  opacity: 0.3;
}

@keyframes hs-slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes hs-slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.hs-toast.hiding {
  animation: hs-slideOutRight 0.3s ease-in forwards;
}

.hs-toast-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
}

.hs-toast-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hs-toast-title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  color: #111;
}

.hs-toast-message {
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}

.hs-toast-close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
  padding: 0;
  position: relative;
  z-index: 10;
}

.hs-toast-close:hover {
  background: #f3f4f6;
  color: #111;
}

.hs-toast-close:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Toast Types */
.hs-toast-success {
  border-left-color: #10b981;
}

.hs-toast-success .hs-toast-icon {
  background: #d1fae5;
  color: #10b981;
}

.hs-toast-error {
  border-left-color: #ef4444;
}

.hs-toast-error .hs-toast-icon {
  background: #fee2e2;
  color: #ef4444;
}

.hs-toast-warning {
  border-left-color: #f59e0b;
}

.hs-toast-warning .hs-toast-icon {
  background: #fef3c7;
  color: #f59e0b;
}

.hs-toast-info {
  border-left-color: #3b82f6;
}

.hs-toast-info .hs-toast-icon {
  background: #dbeafe;
  color: #3b82f6;
}

/* Progress bar */
.hs-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: currentColor;
  opacity: 0.2;
  animation: hs-progressBar linear forwards;
}

@keyframes hs-progressBar {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

@media (max-width: 576px) {
  .hs-toast-container {
    right: 10px;
    left: 10px;
  }

  .hs-toast {
    min-width: auto;
    max-width: 100%;
  }
}
