/* Modal background */
.enquiry-form-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 95%;
    max-width: 900px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    /* border-radius: 10px; */
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.booking-form .form-control,
.booking-form textarea.form-control {
    background-color: rgba(255,255,255,0.85);
    border: 1px solid #d1d5db;
    border-radius: 0!important;
    color: #222;
    height: 58px;
    font-size: 15px;
}
.form-control:focus {
    border-color: #ffa500;
    box-shadow: 0 0 0 0.5px rgba(255, 165, 0, 0.4);
    /* background-color: #ffffff; */
    outline: none!important;
}
.booking-form textarea.form-control {
    height: auto;
}

.booking-form .form-control::placeholder {
    color: #555;
    opacity: 1;
}

/* Button */
/*.btn-primary {*/
/*    background-color: #e69500;*/
/*    border: none;*/
/*    font-weight: 700;*/
/*    width: 100%;*/
/*}*/

/*.btn-primary:hover {*/
/*    background-color: #cc8400;*/
/*}*/
button.btn.btn-primary {
  background-color: #e69500 !important;
  border: none !important;
  font-weight: 700 !important;
  width: 100% !important;
}

button.btn.btn-primary:hover {
  background-color: #cc8400 !important;
}


/* Custom Select */
.custom-select-wrapper {
    position: relative;
}

.custom-select {
        position: relative;
  z-index: 1200; /* Add this line */
    user-select: none;
    cursor: pointer;
}

.custom-select .selected {
    padding: 0.85rem 1rem;
    border: 1px solid #d1d5db;
    background-color: #fff;
    color: #002a49 !important;
    position: relative;
    height: 58px;
    overflow: visible;
}

.custom-select .selected::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 12px;
    color: #333;
}

.custom-select .options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #d1d5db;
    max-height: 200px;
    overflow-y: auto;
z-index: 1300;}

.custom-select .option {
    color: #002a49 !important;
        background-color: #fff;   /* keep background white */

    padding: 0.6rem 1rem;
    cursor: pointer;
       font-size: 14px;     /* slightly smaller text */
    line-height: 1.2;    /* tighter spacing between lines */
}

.custom-select .option:hover,
.custom-select .option.active {
    background-color: #f1c40f;
    color: #002a49 !important;
}
label.labelname {
    color: #002a49 !important;
}
form.booking-form #children-ages label.labelname {
    color: #002a49 !important;
}

.close-btn {
    position: absolute;
    bottom: 92%;
    right: 1%;
    font-size: 40px;
    font-weight: bold;
    color: #333;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}
.close-btn:hover {
    color: #f1c40f;
}

@media (max-width: 768px) {
  .enquiry-form-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 100%;
    padding: 20px;
    background-color: #fff;
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2000;
  }

  .booking-form h2 {
    font-size: 22px;
  }

  .booking-form .form-control,
  .custom-select .selected {
    height: 50px;
    font-size: 14px;
  }

  .btn-primary {
    font-size: 16px;
    padding: 10px;
  }
}

