:root {
  --green: #009e48;
}

.abp-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

label.abp-label {
  font-size: 16px;
  font-weight: 600;
}

.abp-form-group input,
.abp-form-group select {
  height: auto;
  padding: 12px 20px !important;
  border: 1px solid #d9d9d9 !important;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: #191919;
  border-radius: 50px !important;
}

.abp-loader {
  width: 28px;
  height: 28px;
  border: 2px solid var(--green);
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

button[type="submit"].abp-button {
  background: var(--green);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  font-family: "Jost", sans-serif;
  padding: 14px 28px;
  border-radius: 16px;
  color: #fff;
  cursor: pointer;
}

.abp-booking-summary {
  display: none;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

label.abp-single-option {
  display: block;
}

label.abp-single-option > input {
  display: none;
}

.abp-option-detail {
  border: 1px solid var(--green);
  position: relative;
  border-radius: 12px;
  padding: 20px 16px;
  cursor: pointer;
}

.abp-option-detail:before {
  content: "";
  width: 20px;
  height: 20px;
  display: inline-block;
  border-radius: 50%;
  border: 2px solid var(--green);
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 10;
  background: #ffffff;
}

.abp-option-detail:after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 15;
  display: none;
}

label.abp-single-option > input:checked + .abp-option-detail {
  outline: 1px solid var(--green);
  background: #f0fdf4;
}

label.abp-single-option > input:checked + .abp-option-detail:after {
  display: inline-block;
}

.abp-option-detail input {
 display: inline-block;
}

.abp-option-detail input + span {
  font-size: 16px;
  color: #191919;
  line-height: 1.5;
  padding: 8px 16px;
  border: 1px solid var(--green);
  font-family: "Jost", sans-serif;
  cursor: pointer;
  border-radius: 50px;
  display: block;
}

.abp-option-detail input:checked + span {
  outline: 1px solid var(--green);
}

.abp-option-detail > h2 {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 10px;
}

.abp-option-detail > p {
  margin-bottom: 0px;
  color: #5a5c5f;
  font-weight: 400;
  line-height: 1.5;
  font-size: 14px;
}

.abp-option-detail > label {
  display: inline-block;
}

.abp-date-picker {
  position: relative;
}

input#pickup_date {
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
  cursor: pointer;
  opacity: 0;
  top: 0;
}

button.abp-picker-preview,
button.abp-open-traveller {
  width: 100%;
  text-align: center;
  border-radius: 50px;
  background: transparent;
  border: 1px solid #d9d9d9;
  color: #191919;
  line-height: 1.5;
  font-size: 16px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

span.abp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.abp-select-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

.abp-traveller {
  position: relative;
}

.abp-select-traveller {
  position: absolute;
  background: #fff;
  z-index: 50;
  width: 250px;
  padding: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  top: 100%;
  margin-top: 10px;
  border-radius: 12px;
  display: none;
}

.abp-number-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.abp-number-group:last-child {
  margin-bottom: 0px;
}

span.abp-number-label {
  display: flex;
  flex-direction: column;
}

span.abp-number-label > h4 {
  font-size: 14px;
  color: #191919;
  font-weight: 500;
}

span.abp-number-label > span {
  font-weight: 400;
  color: #5a5c5f;
  line-height: 1.5;
  font-size: 12px;
}

.abp-number-field > input {
  text-align: center;
  padding: 0px !important;
  width: 34px;
  border: none !important;
  font-size: 14px;
  font-family: "Jost";
  line-height: 1.5;
}

.abp-number-field > input::-webkit-outer-spin-button,
.abp-number-field > input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.abp-number-field > input[type="number"] {
  -moz-appearance: textfield;
}

.abp-number-field {
  display: flex;
  align-items: center;
  gap: 5px;
}

span.abp-minus,
span.abp-plus {
  background: var(--green);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: #fff;
  user-select: none;
}

p.abp-option-desc {
  margin-bottom: 20px !important;
}

p.abp-total {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #191919 !important;
  margin-bottom: 20px !important;
}

@media (max-width: 767px) {
  .abp-select-area {
    display: flex;
    align-items: stretch;
    gap: 16px;
    flex-direction: column;
  }

  .abp-select-traveller {
    position: fixed;
    top: unset;
    margin-top: 0px;
    bottom: 0;
    width: 100%;
    left: 0;
    z-index: 100;
    min-height: 150px;
  }
}
