/* Toast meldingssystem */
.haugetun-toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 350px;
  width: 100%;
}

.haugetun-toast {
  background-color: #fff !important;
  color: rgb(107 114 128) !important;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: flex-start;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
}

.haugetun-toast.show {
  transform: translateX(0);
  opacity: 1;
}
.haugetun-toast .haugetun-toast-cart-btn{
  background: #4caf50;
  padding: 5px 10px;
  border-radius: 7px;
  color: #fff;
  font-size: .9rem;
  margin-top: 10px;
  display: inline-block;
}

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

.haugetun-toast-content {
  flex: 1;
}

.haugetun-toast-close {
  cursor: pointer;
  padding: 0;
  color: #000;
  margin: 0px;
  display: flex;
}

.haugetun-toast-close:hover {
  color: #333;
}

.haugetun-toast-title {
  font-weight: bold;
  margin-bottom: 5px;
  color: #000;
  font-size: 1rem;
}

.haugetun-toast-message {
  margin: 0;
  font-size: 0.9rem;
}

.haugetun-toast.success {
  border-left: 4px solid #4CAF50;
}

.haugetun-toast.error {
  border-left: 4px solid #F44336;
}

.haugetun-toast-icon {
  margin-right: 12px;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 100px;
  padding: 0px 5px;
  color: #fff;
}

.haugetun-toast.success .haugetun-toast-icon {
  background: #4CAF50;
}
.haugetun-toast.error .haugetun-toast-icon {
  background: #F44336;
}

.haugetun-toast-icon svg {
  width: 100%;
  height: 100%;
}