/* Toast fade animations */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-enter-from {
  opacity: 0;
  transform: translateY(-10px);
}

.fade-leave-to {
  opacity: 0;
  transform: translateY(-10px);
}

.toast-hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.toast-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Modern Card Glow & Shine Styles */
.modern-card {
  position: relative;
  overflow: hidden;
}

.modern-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 30%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 30%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.15) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
}

.modern-card:hover::after {
  animation: shine 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shine {
  0% {
    left: -60%;
  }
  100% {
    left: 160%;
  }
}

.text-shadow-sm {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

body {
  font-family: "Poppins", "Noto Sans Lao", sans-serif;
  background-image: url("../images/background.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #18230f;
  min-height: 100vh;
  margin: 0;
}

@media (max-width: 755.98px) {
  body {
    background-size: 220%;
  }
}
