.toast-container {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  
}

.toast {
  display: flex;
  align-items: flex-start;
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 
              0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  opacity: 0;
  width: 21em;
  height: fit-content;
  pointer-events: auto;
}

.toast.show {
  opacity: 1;
}

.toast-content {
  display: flex;
  align-items: center;
  
  flex: 1;
}

.toast-icon {
  margin-right: 10px;
  flex-shrink: 0;
  
}

.toast-icon svg {
  width: 24px;
  height: 24px;
  
}

.toast-text {
  flex: 1;
  
}

.toast-title {
  font-weight: bold;
  font-family: "Space Grotesk", sans-serif;
  
  font-size: .9rem;
}

.toast-message {
  font-size: .8rem;
  line-height: 1.4;
}

.toast-close {
  background: none ;
  width: 20px;
  padding: .2rem;
  border: none;
  box-shadow: none;
  font-size: 20px;
  color: #000;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s ease;
  
}

.toast-close:hover {
  border: 1px dashed #007;
}
.toast-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.5);
  transition: width linear;
}


.toast-info {
  background-color: #dbeafe;
  color: #1e3a8a;
  
}

.toast-warning {
  background-color: #fef9c3;
  color: #713f12;
  
}

.toast-success {
  background-color: 

#dcfce7;
  color: #14532d;
  
}

.toast-error {
  background-color: #fee2e2;
  color: #7f1d1d;
  
}

/* Positions */
.toast-top-left {
  top: 20px;
  left: 20px;
}

.toast-top-center {
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.toast-top-right {
  top: 20px;
  right: 20px;
}

.toast-bottom-left {
  bottom: 20px;
  left: 20px;
}

.toast-bottom-center {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.toast-bottom-right {
  bottom: 20px;
  right: 20px;
}
@media (max-width: 600px) {
  .toast {
    width: 300px;
  }
  .toast-message {
  font-size: .7rem;
  
}
.toast-title{
  font-size: .8rem;
}
}
@media (min-width: 601px) and (max-width: 1024px) {
  .toast {
    width: 250px;
  }
}
@media (min-width: 1025px) {
  .toast {
    width: 300px;
  }
}

/* Animations */
@keyframes scaleIn {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


@keyframes scaleOut {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0);
    opacity: 1;
  }
}


@keyframes slideIn {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideOut {
  from { transform: translateY(0); opacity: 1; }
  to { transform: translateY(-20px); opacity: 0; }
}

@keyframes bounce-in-top {
  0% {
    transform: translateY(-500px);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    transform: translateY(0);
    animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    transform: translateY(-65px);
    animation-timing-function: ease-in;
  }
  72% {
    transform: translateY(0);
    animation-timing-function: ease-out;
  }
  81% {
    transform: translateY(-28px);
    animation-timing-function: ease-in;
  }
  90% {
    transform: translateY(0);
    animation-timing-function: ease-out;
  }
  95% {
    transform: translateY(-8px);
    animation-timing-function: ease-in;
  }
  100% {
    transform: translateY(0);
    animation-timing-function: ease-out;
  }
}
@keyframes bounce-out-top {
  0% {
    transform: translateY(0);
    animation-timing-function: ease-out;
  }
  5% {
    transform: translateY(-30px);
    animation-timing-function: ease-in;
  }
  15% {
    transform: translateY(0);
    animation-timing-function: ease-out;
  }
  25% {
    transform: translateY(-38px);
    animation-timing-function: ease-in;
  }
  38% {
    transform: translateY(0);
    animation-timing-function: ease-out;
  }
  52% {
    transform: translateY(-75px);
    animation-timing-function: ease-in;
  }
  70% {
    transform: translateY(0);
    animation-timing-function: ease-out;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateY(-800px);
    opacity: 0;
  }
}

.animation-bounce.show{
  animation: bounce-in-top 1.1s both;
}
.animation-bounce.hide{
	animation: bounce-out-top 1.5s both;
}

.animation-scale.show {
  animation: scaleIn 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.animation-scale.hide {
  animation: scaleOut 0.5s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

.animation-slide.show {
  animation: slideIn 0.3s ease forwards;
}

.animation-slide.hide {
  animation: slideOut 0.3s ease forwards;
}