body {
  background-color: #ffffff;
}

/* .btn-danger,
.bg-danger {
  background-color: #fdb913 !important;
} */

input[type="text"],
input[type="number"],
input[type="email"],
select {
  background-color: #dee2e6 !important;
  border: none !important;
  border-bottom: 1px solid #ffc107 !important;
  border-radius: 0 !important;
}

/* Hide default radio */
.form-check-input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  margin-right: 5px;
  border: 2px solid #ffc107;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Yellow when selected */
.form-check-input[type="radio"]:checked {
  background-color: #ffc107;
  border-color: #ffc107 !important; 
  /* box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3); */
}

/* Optional: hover effect
.form-check-input[type="radio"]:hover {
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
} */

input:focus,
select:focus {
  border: none !important;
  border-bottom: 1px solid #ffc107 !important;
  box-shadow: none !important;
}

/* global fixed alert centered below header */
#global-alert {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: 0; /* JS will adjust top dynamically */
  z-index: 99999;
  width: min(400px, calc(100% - 40px)); /* narrower width */
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center; /* centers text + close button horizontally */
  gap: 0.75rem;
  font-weight: 600;
}

/* message area */
#global-alert .alert-message {
  flex: 1;
  text-align: center;
  margin: 0;
}

/* close button styling - vertically centered and slightly bigger */
#global-alert .btn-close {
  flex-shrink: 0;
  align-self: center;
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.8;
  padding: 12px 16px;
}

@media (max-width: 480px) {
  #global-alert {
    width: calc(100% - 32px);
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
  }
}

/* Add custom styles if needed */
.thank-you {
  text-align: center;
  margin: 30px;
}

.thank-you img {
  width: 200px;
  margin-bottom: 40px;
}

/* ==============================
   MEDIA QUERIES FOR RESPONSIVENESS
   Covers 200px → 1080px
   ============================== */

/* Very Small Devices (200px – 319px) */
@media (min-width: 200px) and (max-width: 319px) {
  .form-container {
    padding: 1rem;
    margin: 0 0.5rem;
    font-size: 0.8rem;
  }

  #global-alert {
    width: calc(100% - 20px);
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
  }

  .registration-section .col-2 i {
    font-size: 1.2rem;
  }
  
  .header .logo {
    order: 1;
  }

  .header .btn-warning {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 20px;
  }

  .header .navmenu {
    order: 3;
  }

  .form-container.pe-5 {
    padding-right: 2rem !important;
  }

  .form-container.me-5 {
    margin-right: 2rem !important;
  }
}

.scrolled .header {
  box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.1);
}

/* Extra Small Devices (320px – 479px) */
@media (min-width: 320px) and (max-width: 479px) {
  .form-container {
    max-width: 100%;
    padding: 1.2rem;
    margin: 2rem 0 0 2rem;
    font-size: 0.85rem;
  }

  #global-alert {
    width: calc(100% - 24px);
    font-size: 0.9rem;
  }

  .header .logo {
    order: 1;
  }

  .header .btn-warning {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 20px;
  }

  .header .navmenu {
    order: 3;
  }

  .form-container.pe-5 {
    padding-right: 2rem !important;
  }

  .form-container.me-5 {
    margin-right: 2rem !important;
  }
}

.scrolled .header {
  box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.1);
}

/* Small Devices (480px – 575px) */
@media (min-width: 480px) and (max-width: 575px) {
  .form-container {
    max-width: 90%;
    margin: 30px 0 0 40px;
    padding: 1.5rem;
  }

  #global-alert {
    width: min(90%, 400px);
  }

    .header .logo {
    order: 1;
  }

  .header .btn-warning {
    order: 2;
    margin: 0 0 0 8rem;
    padding: 6px 20px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.1);
}

/* Medium Small Devices (576px – 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .form-container {
    max-width: 75%;
    margin: 0 auto;
    padding: 2rem;
  }

  #global-alert {
    width: min(75%, 400px);
  }

    .header .logo {
    order: 1;
  }

  .header .btn-warning {
    order: 2;
    margin: 0 15px 0 15rem;
    padding: 6px 20px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.1);
}

/* Tablets (768px – 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .registration-section .form-container {
    max-width: 95% !important; /* Force wider form */
    width: 95% !important;
    margin: 1.5rem auto !important;
    padding: 2.5rem !important;
    font-size: 1rem !important;
  }

  #global-alert {
    width: min(65%, 450px);
  }

  .header .logo {
    order: 1;
  }

  .header .btn-warning {
    order: 2;
    margin: 0 15px 0 25rem;
    padding: 6px 20px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.1);
}

/* Small Laptops (992px – 1080px) */
@media (min-width: 992px) and (max-width: 1080px) {
  .form-container {
    max-width: 100%;
    margin-right: 3rem; /* push form slightly inward */
  }

  #global-alert {
    width: min(500px, 60%);
  }

    .header .logo {
    order: 1;
  }

  .header .btn-warning {
    order: 2;
    margin: 0 15px 0 40rem;
    padding: 6px 20px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.1);
}

/* Large Screen (1920px – 2100px) */
@media (min-width: 1920px) and (max-width: 2100px) {
  .form-container {
    max-width: 70%;
    margin-right: 3rem; /* push form slightly inward */
  }

  #global-alert {
    width: min(500px, 60%);
  }
}