#resform-container {
  padding-top: 50px;
  padding-bottom: 50px;
  min-height: 450px;
  display: flex;
  align-items: center;
}

#resform::before {
  background-image: url(../img/designphotos/mercedes.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
  width: 195px;
  height: 156px;
  display: block;
  position: absolute;
  right: 28px;
  top: 18px;
}

.transfer-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  padding: 40px;
}

.airport_trf_below {
  max-width: 800px;
  font-size: 18px;
}

.transfer_extra_info {
  text-align: center;
  max-width: 800px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: 20px;
  margin-top: 20px;
}

.extra_info_div {
  padding: 15px;
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
  gap: 15px;
  position: relative;
  border-radius: 4px;
}

.extra_info_div::after {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 45px;
  height: 20px;
  background-color: #ebebeb;
  color: #16582a;
  display: block;
  content: "Free";
  
  
}

.extra_info_div .material-symbols-rounded {
  font-size: 32px;
  color: #033838
}

.banner.transfer {
  position: relative;
  background-color: #c1c1c1;
}

.banner.transfer video {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  z-index: 0;
  overflow: hidden;
}

.banner.transfer .book-now {
  padding: 17px;
  margin-bottom: 0;
  margin-top: 30px;
  z-index: 2;
}

#resform {
  max-width: 700px;
  margin: 0 auto;
  display: block;
  background-color: #ffffffeb;
  padding: 45px 50px;
  box-shadow: 0px 2px 6px -2px #c1c1c1;
  border-radius: 20px;
  position: relative;
}

#resform h1 {
  text-align: left;
  font-size: 40px;
  font-weight: bold;
  padding-top: 7px;
  color: #1b2a2f;
  border-radius: 7px;
  padding-right: 100px;
  margin: 0;
}

#resform label {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  font-weight: bold;
}

#resform label i {
  font-weight: normal;
  margin-left: 3px;
}

#resform label span {
  color: #333;
}

#resform input#arr-to {
  padding-left: 70px;
}

#resform input#dep-from {
  padding-left: 95px;
}

#resform input[type="text"],
#resform input[type="email"],
#resform input[type="tel"],
#resform input[type="date"],
#resform input[type="number"],
#resform input[type="time"],
#resform select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 10px;
  font-size: 16px;
  height: 50px;
  font-weight: 600;
  color: var(--clr-neutral-900);
}

#resform input[type="checkbox"] {
  margin-right: 5px;
}

#resform button[type="submit"],
.savePDFButton {
  background-color: #2c832f;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  padding: 10px 20px;
  font-size: 16px;
}

.savePDFButton {
  margin: 10px;
}

#resform button[type="submit"]:hover {
  background-color: #1f6922;
}

#resform button[type="reset"] {
  color: #464646;
  border: none;
  background-color: transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500 !important;
  text-decoration: underline;
}

#resform .form-group {
  margin-bottom: 20px;
  padding-bottom: 10px;
}

#resform #passenger-fields .form-group {
  margin-bottom: 10px;
}

#resform #child-seat-fields .form-group {
  margin-bottom: 10px;
}

#resform #child-seat-fields label,
#resform #child-seat-details label {
  font-weight: normal;
}

#child-seats {
  display: flex;
  align-items: baseline;
  line-height: 20px;
  margin-top: 20px;
}

#child-seats label {
  margin-bottom: 0;
}

select#passengers {
  font-weight: normal;
  font-size: 16px;
}

#child-seats input[type="checkbox"] {
  height: 20px;
  width: 20px;
  margin: auto 0;
  margin-left: 5px;
}

#resform input[type="number"] {
  width: 100px;
}

#resform #trip-options::before {
  display: block;
  content: "You want to book for";
  position: absolute;
  top: -30px;
  left: 0;
  text-align: center;
  width: 100%;
  padding-bottom: 12px;
  font-size: 1.2rem;
  color: #525252;
  font-weight: 600;
}
#resform #trip-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  font-size: 18px;
  flex-wrap: wrap;
  position: relative;
  border-top: 1px solid rgb(223, 223, 223);
  padding-top: 12px;
}

#resform #trip-options:not(:first-child) {
  flex: 1;
  margin-top: 46px;
}

#resform .date-and-time {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

#resform .date-and-time input {
  font-size: 16px;
}

#resform .date-and-time .form-group {
  display: flex;
  gap: 20px;
}

#resform .trip-option-btn:not(.active) i:first-of-type {
  display: none;
}

#resform .trip-option-btn {
  padding: 7px 5px;
  color: #353535;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 7px;
  display: flex;
  gap: 5px;
  align-items: center;
  position: relative;
  justify-content: center;
  font-weight: 500;
  height: 50px;
  width: 30%;
}

/*arrival button*/
#resform .trip-option-btn:first-of-type {
  background-color: #efffed;
  border: 1px solid #bfddc0;
}

#resform .trip-option-btn:first-of-type:hover {
  background-color: #ddffde;
}

/*departure button*/

#resform .trip-option-btn:nth-of-type(2) {
  background-color: #e7f4ff;
  border: 1px solid #c8e1f3;
}

#resform .trip-option-btn:nth-of-type(2):hover {
  background-color: #ddf1ff;
}

/*both button*/

#resform .trip-option-btn:nth-of-type(3) {
  background: linear-gradient(90deg, #efffed 20%, #e7f4ff 80%);
  border: 1px solid #c2e7d3;
}

#resform .trip-option-btn.active::after {
  content: "";
  display: block;
  width: 90%;
  position: absolute;
  bottom: -10px;
  height: 3px;
  background: linear-gradient(115deg, #71a36b 25%, #7bb7eb 75%);
}

#resform .info {
  font-size: 14px;
  font-weight: 400;
  color: #3a3a3a;
  margin-left: 5px;
}

#resform .form-group {
  position: relative;
}

#search-results {
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  z-index: 1;
  background-color: rgb(236, 243, 255);
  border: 1px solid #ccc;
  display: none;
  cursor: pointer;
}

#resform ::placeholder {
  font-size: 16px;
  font-weight: normal;
}

.arr-suggestions,
.dep-suggestions {
  font-style: italic;
  display: flex;
  flex-direction: row;
}

input[type="radio"] {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none;
}

.arr-suggestions input[type="radio"],
.dep-suggestions input[type="radio"] {
  margin-right: 10px;
}

.whichairport {
  margin-bottom: 10px !important;
  color: #5e5e5e !important;
}

.arr-suggestions label:hover,
.arr-suggestions label.active {
  background-color: #efffed;
  border: 1px solid #bfddc0;
}

.dep-suggestions label:hover,
.dep-suggestions label.active {
  background-color: #e7f4ff;
  border: 1px solid #c8e1f3;
}

.arr-suggestions label,
.dep-suggestions label {
  padding: 17px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
  height: 50px;
  font-weight: 600;
  color: var(--clr-neutral-900);
  background-color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}

#resform #arrival-transfer::before {
  content: "Arrival";
  position: absolute;
  top: -14px;
  background-color: #efffed;
  color: #3a3a3a;
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid #bfddc0;
  font-weight: 500;
}

#resform #departure-transfer::before {
  content: "Departure";
  position: absolute;
  top: -14px;
  background-color: #e7f4ff;
  color: #3a3a3a;
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid #c8e1f3;
  font-weight: 500;
}

#resform #departure-transfer,
#resform #arrival-transfer {
  display: none;
  margin-top: 50px;
  animation: slideaway 300ms;
}

#resform #arrival-transfer label {
  color: #065400;
}

#resform #departure-transfer label {
  color: #336185;
}

.arr-suggestions label.inactive,
.dep-suggestions label.inactive {
  color: #d1d1d1 !important;
  background-color: #f5f5f5;
}

.arr-suggestions label.active::after,
.dep-suggestions label.active::after {
  content: "\2713"; /* tick symbol */
  margin-left: 5px;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-top: none;
  z-index: 999;
  top: 59px;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: auto;
  background-color: #fff;
}

.autocomplete-items li {
  padding: 10px;
  cursor: pointer;
  list-style-type: square;
}

.autocomplete-items li:hover {
  background-color: #e9e9e9;
}

#resform .transfer-frame {
  background-color: #f5f5f5;
  padding: 0 15px;
  border-radius: 7px;
  margin-bottom: 40px;
  position: relative;
  padding-top: 45px;
  box-shadow: 0px 1px 6px -2px #a1a1a1;
  border: 1px solid #e7e7e7;
}

label[for="dep-from"],
label[for="arr-to"] {
  position: absolute;
  background-color: rgb(221, 221, 221);
  height: 50px;
  padding: 0 10px;
}

#resform #other-infos {
  display: none;
  margin-top: 50px;
}

#resform #other-infos::before {
  content: "Other Information";
  position: absolute;
  top: -14px;
  background-color: #333;
  color: #ccc;
  padding: 5px 10px;
  border-radius: 7px;
}

#resform .form-group-fn {
  flex-direction: column;
  max-width: 100px;
}

#resform .formtimeandfn,
#resform .formdate {
  display: flex;
  gap: 10px;
}

#resform #arr-flight-number,
#resform #dep-flight-number {
  text-transform: uppercase;
}

#resform #form-notes textarea {
  width: 100%;

  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 10px;
  font-size: 16px;
  height: 200px;
  font-weight: 600;
  color: var(--clr-neutral-900);
}

#resform .formhourandminute {
  display: flex;
  align-items: baseline;
}

#resform .formhourandminute span {
  font-size: 20px;
  padding: 5px;
}

#resform .member {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  line-height: 20px;
}

#resform .total-price {
  display: block;
  font-weight: 700;
  margin: 25px 0;
  font-size: 25px;
}

#resform .total-price #ttlprice {
  padding: 5px;
  color: #064108;
}

#resform .date-and-time {
  display: none;
}

#resform a.becomemember {
  color: #336185;
  text-decoration: none;
  margin-left: auto;
  padding-bottom: 2px;
  text-align: center;
  text-decoration: underline;
}

.confirmation_received {
  padding: 10px;
  text-align: center;
  display: flex;
  color: #b40101;
  font-size: 16px;
  flex-direction: column;
  margin-bottom: 15px;
}

.transfer_page #resform-container {
  display: none;
  min-height: auto;
}

@keyframes slideaway {
  from {
    transform: translateY(300px);
    opacity: 0;
  }
  to {
    display: none;
  }
}
