/* Custom styles for the form inside the popup */
.form-popup-container .form-wrapper {
  background-color: rgba(
    17,
    17,
    17,
    0.9
  ); /* A dark, slightly transparent background */
  border: 1px solid #444;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  max-height: 90vh;
  overflow-y: auto;
  /* Reset properties that might be inherited from other stylesheets for centering. */
  /* This prevents content from being cut off on smaller screens. */
  top: auto;
  transform: none;
}

.form-popup-container .form-wrapper {
  /* This prevents content from being cut off on smaller screens */
  top: auto;
  transform: none;
}

.form-popup-container label {
  color: #eee;
}

/*
  The new form uses Tailwind classes for input styling.
  You can remove this block if you are not using the old form anymore.
*/

.form-popup-container input:focus,
.form-popup-container select:focus,
.form-popup-container textarea:focus {
  border-color: #f4692e; /* A highlight color from the page */
  outline: none;
  box-shadow: 0 0 0 2px rgba(244, 105, 46, 0.5);
}

.form-popup-container .btn-primary {
  width: auto; /* Changed from 100% to allow button to size to content */
}

#form-popup .captcha-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#form-popup .captcha-text {
  flex-shrink: 0;
}

.captcha-container .captcha-text {
  width: auto;
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1)) !important;
}
#initial-popup .btn.btn-primary {
  padding: 14px 16px;
  height: auto;
}
.img-india {
  width: 50%;
  border: 10px solid #fff;
  border-radius: 10px;
}
div#form-step-1 img {
  height: 250px !important;
  width: 100%;
  object-fit: cover;
}

/* @media (min-width: 1024px) {
  .card:nth-child(3) {
    left: 35%;
    top: -40%;
  }
  .card:nth-child(4) {
    left: 57%;
    top: 80%;
  }
  .card:nth-child(5) {
    left: 76%;
    top: -370%;
  }
} */
/* Responsive adjustments for popups */
@media (max-width: 767px) {
  .popup-content h1,
  #initial-popup h1 {
    font-size: 1.5rem;
  }
  .popup-buttons a,
  #initial-popup .popup-buttons a {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
  }
  .form-popup-container .captcha-container {
    display: block;
  }
}

.wrapper section {
  position: relative;
  z-index: 1;
}
button#close-initial-popup {
  line-height: 1;
}
.idiaEventPagebutton {
  display: flex;
  gap: 20px;
}
header .link-underline {
  cursor: pointer;
}

/* Coming Soon Popup - Animation for the inner box */
#coming-soon-popup .form-wrapper {
  animation: popup-fade-in 0.4s ease-out forwards;
}

@keyframes popup-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Update You Soon Popup */
#update-soon-popup .form-wrapper {
  background-color: rgba(17, 17, 17, 0.9);
  border: 1px solid #f4692e;
  /* Highlight color */
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: popup-fade-in 0.4s ease-out forwards;
}

#update-soon-popup h2 {
  color: #f4692e;
  /* Highlight color for heading */
}

@media (max-width: 480px) {
  .w-container:before {
    position: absolute;
    width: 100%;
    background: #a8bfc5;
    height: 1px;
    bottom: 52px;
    z-index: 2;
    left: 0px;
  }
}
