/* Toast Notification Styles - Figma Design */

.gg-toast-container {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  pointer-events: none;
  width: auto;
}

.gg-toast {
  background-color: #23769f;
  border-radius: 99999px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 82px;
  position: relative;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(150px);
  white-space: nowrap;
}

.gg-toast-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.16px;
  color: #fbfbfb;
  text-align: center;
}

.gg-toast-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.gg-toast-close:hover {
  opacity: 0.7;
}

.gg-toast-close svg {
  width: 12px;
  height: 12px;
  display: block;
}

/* Spring Animation with Bounce (600ms) - Matches Figma Spring Settings */
.gg-toast.show {
  animation: springSlideUp 600ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes springSlideUp {
  0% {
    transform: translateY(150px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Fade-out Animation (150ms ease-out) */
.gg-toast.fade-out {
  animation: fadeOut 150ms ease-out forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

/* Mobile and Tablet - Adjust gap */
@media (max-width: 900px) {
  .gg-toast {
    gap: 32px;
  }

  .gg-toast-container {
    bottom: 30px;
  }
}