    body {
      font-family: Arial, sans-serif;
      background-color: #ECFDF6;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
    }

    .form-container {
      background: white;
      border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      max-width: 500px;
      width: 100%;
      padding: 30px;
      box-sizing: border-box;
    }

    h2 {
      color: #0b814b;
      margin-bottom: 10px;
      text-align: center;
      font-size: 1.8rem;
    }

    p.intro-text {
      font-size: 1rem;
      color: #444;
      margin-bottom: 20px;
    }

    .form-step {
      display: none;
    }

    .form-step.active {
      display: block;
    }

    label {
      display: block;
      margin: 10px 0 5px;
      font-weight: bold;
      font-size: 1rem;
    }

    input, textarea, select {
      width: 100%;
      padding: 12px;
      border: 1px solid #ccc;
      border-radius: 8px;
      box-sizing: border-box;
      margin-bottom: 10px;
      font-size: 1rem;
    }

    ul.suggestions {
      list-style: none;
      margin: 0;
      padding: 0;
      background: white;
      border: 1px solid #ccc;
      max-height: 150px;
      overflow-y: auto;
      position: absolute;
      width: 100%;
      z-index: 999;
      display: none;
    }

    ul.suggestions li {
      padding: 8px 12px;
      cursor: pointer;
    }

    ul.suggestions li:hover {
      background-color: #f0f0f0;
    }

    .button-group {
      margin-top: 20px;
      display: flex;
      justify-content: space-between;
      gap: 10px;
    }

    button {
      background-color: #0FB869;
      color: white;
      padding: 12px 20px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 1rem;
      min-width: 80px;
    }

    button:hover {
      background-color: #0b814b;
    }

    .remove-btn {
      background: none;
      border: solid 1px;
      color: red;
      font-size: 0.9em;
      cursor: pointer;
      margin-left: 5px;
    }

    .plan-option {
      display: inline-block;
      padding: 12px 20px;
      margin: 5px;
      border: 2px solid #ccc;
      border-radius: 30px;
      cursor: pointer;
      color: #0b814b;
      font-weight: bold;
      background: #fff;
      transition: border-color 0.3s, background-color 0.3s;
      font-size: 1rem;
    }

    .plan-option.selected {
      border-color: #0FB869;
      background-color: #ECFDF6;
    }
    /* Hide extra initially */
    .step1-extra-fields {
      display: none;
      margin-top: 15px;
    }
    
    /* Hide pickup/drop fields when not needed */
    .hidden-field {
      display: none !important;
    }
    
    .custom-checkbox {
      display: flex;
      align-items: center;
      cursor: pointer;
      font-weight: normal;
      margin-bottom: 10px;
      user-select: none;
      font-size: 1rem;
    }
    .custom-checkbox input[type="checkbox"] {
      /* Hide default checkbox */
      opacity: 0;
      width: 0;
      height: 0;
    }
    .checkmark {
      height: 20px;
      width: 20px;
      background-color: #fff;
      border: 2px solid #0FB869;
      border-radius: 50%;
      margin-right: 10px;
      transition: background 0.2s;
      position: relative;
    }
    .custom-checkbox input[type="checkbox"]:checked + .checkmark {
      background-color: #0FB869;
    }
    .checkmark:after {
      content: "";
      display: none;
      position: absolute;
      top: 5px;
      left: 5px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: white;
    }
    .custom-checkbox input[type="checkbox"]:checked + .checkmark:after {
      display: block;
    }
    
    .circular-radio-group {
      display: flex;
      gap: 20px;
      margin-bottom: 15px;
      flex-wrap: wrap;
    }
    .circular-radio {
      display: flex;
      align-items: center;
      position: relative;
      cursor: pointer;
      font-weight: normal;
      gap: 8px;
      font-size: 1rem;
    }
    .circular-radio input[type="radio"] {
      opacity: 0;
      width: 0;
      height: 0;
    }
    .circle {
      height: 20px;
      width: 20px;
      border: 2px solid #0FB869;
      border-radius: 50%;
      display: inline-block;
      position: relative;
      background: #fff;
    }
    .circular-radio input[type="radio"]:checked + .circle {
      background-color: #0FB869;
    }
    .circular-radio input[type="radio"]:checked + .circle:after {
      content: '';
      display: block;
      position: absolute;
      top: 6px;
      left: 6px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #fff;
    }
    .circular-radio input[type="radio"]:disabled + .circle {
      background: #eee;
      border-color: #bbb;
    }
    .circular-radio input[type="radio"]:disabled ~ span {
      color: #aaa;
    }
 
    /* Container and dot styles */
#loadingMsg {
  display: none;
  text-align: center;
  margin-top: 30px;
  font-weight: bold;
  color: #0FB869;
  font-size: 1.2rem;
  user-select: none;
}

    /* Container and dot styles */
#loadingPlan {
  display: none;
  position: fixed; /* Overlay */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent white overlay */
  z-index: 9999; /* Stay on top of everything */
  
  
  justify-content: center;
  align-items: center;
  
  font-weight: bold;
  color: #0FB869;
  font-size: 1.2rem;
  user-select: none;
}
.loading-dots {
  display: inline-flex;
  margin-left: 8px;
  gap: 6px;
}

.loading-dots div {
  width: 12px;
  height: 12px;
  background-color: #0FB869;
  border-radius: 50%;
  animation: pulse 1.2s infinite ease-in-out;
}

.loading-dots div:nth-child(1) {
  animation-delay: 0s;
}
.loading-dots div:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-dots div:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0%, 80%, 100% {
    opacity: 0.3;
    transform: scale(0.75);
  }
  40% {
    opacity: 1;
    transform: scale(1.25); /* bigger pulse for more life */
  }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  body {
    padding: 10px;
    align-items: flex-start;
    min-height: auto;
  }
  
  .form-container {
    max-width: 100%;
    padding: 20px;
    margin: 10px 0;
    border-radius: 12px;
  }
  
  h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  p.intro-text {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  
  label {
    font-size: 0.95rem;
    margin: 8px 0 4px;
  }
  
  input, textarea, select {
    padding: 10px;
    font-size: 16px; /* Prevents zoom on iOS */
    margin-bottom: 8px;
  }
  
  button {
    padding: 10px 16px;
    font-size: 0.95rem;
    min-width: 70px;
  }
  
  .plan-option {
    padding: 10px 16px;
    font-size: 0.9rem;
    margin: 3px;
  }
  
  .circular-radio-group {
    gap: 15px;
    margin-bottom: 12px;
  }
  
  .circular-radio {
    font-size: 0.9rem;
  }
  
  .custom-checkbox {
    font-size: 0.9rem;
  }
  
  .button-group {
    /*flex-direction: column;*/
    gap: 8px;
  }
  
  .button-group button {
    width: 100%;
  }
  
  /* Adjust spacing for mobile */
  .form-step {
    margin-bottom: 15px;
  }
  
  /* Make travelers section more mobile-friendly */
  .form-step > div:has(input[type="number"]) {
    display: flex;
    /*flex-direction: column;*/
    gap: 8px;
  }
  
  /* Adjust the adults/children layout for mobile */
  .form-step > div:has(input[type="number"]) > div {
    width: 100%;
  }
  
  /* Make sure small text is readable on mobile */
  small {
    font-size: 0.85rem;
  }
  
  /* Adjust loading overlay for mobile */
  #loadingPlan {
    font-size: 1rem;
    padding: 20px;
    text-align: center;
  }
  
  /* Make success message mobile-friendly */
  #successMsg h3 {
    font-size: 1.3rem;
  }
  
  #successMsg h4 {
    font-size: 1rem;
  }
  
  #replanBtn {
    width: 100%;
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .form-container {
    padding: 15px;
    margin: 5px 0;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  .plan-option {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  
  .circular-radio-group {
    /*flex-direction: column;*/
    gap: 10px;
  }
  
  /* Stack date inputs vertically on very small screens */
  #tentativeField > div {
    /*flex-direction: column;*/
    gap: 8px;
  }
  
  #tentativeField > div > input {
    width: 100%;
  }
}
