/* Background overlay */
.custom-alert {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Alert Box */
.alert-content {
  background: #292c52 !important;  /* Primary background color */
  color: white !important;         /* White text for contrast */
  padding: 35px; /* Increased padding */
  border-radius: 10px;
  border: 1px solid white;
  text-align: center;
  width: 380px; /* Slightly wider for better spacing */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  font-family: Arial, sans-serif;
  animation: fadeIn 0.3s ease-in-out;
}


/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  color: white !important;
}

/* Buttons */
.ok-btn, .confirm-btn, .cancel-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin: 10px;
  color: white !important;
}

.ok-btn {
  background-color: #007bff;
}

.ok-btn:hover {
  background-color: #0056b3;
}

.confirm-btn {
  background-color: #28a745;
}

.confirm-btn:hover {
  background-color: #218838;
}

.cancel-btn {
  background-color: #dc3545;
}

.cancel-btn:hover {
  background-color: #c82333;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: scale(0.9);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}


@keyframes ellipse1 {
  0% {
    transform: translate(-50%, 55%) scale(0.8) ;
    opacity: 0;
  }
  20% {
    transform: translate(-50%, 55%) scale(0.9) ;
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 55%) scale(1) ;
    opacity: 0;
  }
}

@keyframes ellipse2 {
  0% {
    transform: scale(0.8) ;
    opacity: 0;
  }
  20% {
    transform: scale(0.9) ;
    opacity: 1;
  }
  100% {
    transform: scale(1) ;
    opacity: 0;
  }
}

@keyframes ellipse3 {
  0% {
    transform: translate(50%, -50%) scale(0.8) ;
    opacity: 0;
  }
  20% {
    transform: translate(50%, -50%) scale(0.9) ;
    opacity: 1;
  }
  100% {
    transform: translate(50%, -50%) scale(1) ;
    opacity: 0;
  }
}

@keyframes ellipse4 {
  0% {
    transform: translate(-50%, -50%) scale(0.8) ;
    opacity: 0;
  }
  20% {
    transform: translate(-50%, -50%) scale(0.9) ;
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1) ;
    opacity: 0;
  }
}


@keyframes rotate360 {
  from {
      transform: rotate(0deg) scale(1);
  }
  to {
      transform: rotate(360deg);
  }
}

@keyframes rotate360rv {
  from {
      transform: rotate(0deg) scale(1);
  }
  to {
      transform: rotate(-360deg);
  }
}

@keyframes playvideo {
  0% {
    transform: scale(1.0) ;
    opacity: 1;
  }
  100% {
    transform: scale(1.3) ;
    opacity: 0;
  }
}

@keyframes loader {
  0% {
      transform: scaleY(0.1);
  }
  50% {
      transform: scaleY(1);
      background: #d74d29;
  }
  100% {
      transform: scaleY(0.1);
      background: transparent;
  }
}

@keyframes to-left {

  0%,
  100% {
    transform: translateX(0);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }

  50% {
    transform: translateX(-15px);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

@keyframes to-right {

  0%,
  100% {
    transform: translateX(0);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }

  50% {
    transform: translateX(15px);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

@keyframes to-top {

  0%,
  100% {
    transform: translateY(0px);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }

  50% {
    transform: translateY(-15px);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

@keyframes to-bottom {

  0%,
  100% {
    transform: translateY(0px);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }

  50% {
    transform: translateY(15px);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
}

@keyframes ani-1 {
  0% {
    transform: translate(0px, 0px) rotate(0deg);
  }

  20% {
    transform: translate(73px, -1px) rotate(36deg);
  }

  40% {
    transform: translate(141px, 72px) rotate(72deg);
  }

  60% {
    transform: translate(83px, 122px) rotate(108deg);
  }

  80% {
    transform: translate(-40px, 72px) rotate(144deg);
  }

  100% {
    transform: translate(0px, 0px) rotate(0deg);
  }
}

@keyframes ani-2 {

  0%,
  100% {
    -webkit-transform: translateX(0) translateY(0) rotate(0);
    transform: translateX(0) translateY(0) rotate(0);
  }

  25%,
  75% {
    -webkit-transform: translateX(15px) translateY(20px) rotate(10deg);
    transform: translateX(15px) translateY(20px) rotate(10deg);
  }

  50% {
    -webkit-transform: translateX(60px) translateY(35px) rotate(15deg);
    transform: translateX(60px) translateY(35px) rotate(15deg);
  }
}


@keyframes tf-buzz-out {
  10% {
      transform: translateY(3%) rotate(2deg);
  }
  20% {
      transform: translateY(-3%) rotate(-2deg);
  }
  30% {
      transform: translateY(3%) rotate(2deg);
  }
  40% {
      transform: translateY(-3%) rotate(-2deg);
  }
  50% {
      transform: translateY(2%) rotate(1deg);
  }
  60% {
      transform: translateY(-2%) rotate(-1deg);
  }
  70% {
      transform: translateY(2%) rotate(1deg);
  }
  80% {
      transform: translateY(-2%) rotate(-1deg);
  }
  90% {
      transform: translateY(1%) rotate(0);
  }
  to {
      transform: translateY(-1%) rotate(0);
  }
}

@keyframes preload {

  from,
  20%,
  40%,
  60%,
  80%,
  to {
      animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
      opacity: 0;
      transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
      transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
      transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
      opacity: 1;
      transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
      transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
      opacity: 1;
      transform: scale3d(1, 1, 1);
  }
}