/**
 * Booking Form Styles
 * Multi-step booking form styling
 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
.container {
  max-width: 830px;
  margin: auto;
  padding: 20px;
}
.steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}
.step {
  width: 22%;
  font-size: 14px;
  position: relative;
}
.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #758599;
  position: relative;
}
.step-number:after {
  position: absolute;
  width: 28px;
  height: 28px;
  content: "";
  top: 3px;
  left: 3px;
  background-image: var(--tb-image-lock);
  background-position: center;
  background-size: auto;
  background-repeat: no-repeat;
}

.active .step-number,
.completed .step-number {
  border-color: #b50000;
}
.active .step-number:after,
.completed .step-number:after {
  background-image: var(--tb-image-tick);
  background-size: contain;
}
.step span {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
  color: #758599;
  padding: 10px 0px 4px;
  display: block;
}
.step p {
  color: #002665;
  font-family: "Spline Sans", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
}
.step-inner {
  padding: 5px 32px 25px;
}
.form-step h2 {
  color: #05162a;
  font-family: "Spline Sans", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 140%;
  padding: 20px 32px;
  background: #f7f8fa;
  box-shadow: 0px -2px 16px 0px #0000000a;
}
.form-step {
  background: #ffffff;
  box-shadow: 0px 0px 24px 0px #00000014;
  border-radius: 16px;
  overflow: hidden;
  display: none;
}
.form-step.active {
  display: block;
}

.form-step label {
  display: block;
  margin: 18px 0 8px;
  color: #262626;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 174%;
}
.form-step input::placeholder {
  color: #758599 !important;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 16px;
}
.form-step input,
.form-step select {
  height: 48px !important;
  padding: 0px 16px;
  background: #f7f8fa;
  border: 1px solid #05588e1f;
  border-radius: 8px;
  color: #758599 !important;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 16px;
  width: 100%;
  outline: none;
  box-shadow: none;
}
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 29px;
  height: 19px !important;
  background: #ccc;
  border-radius: 34px;
  position: relative;
  cursor: pointer;
  transition: 0.3s;
}

input[type="checkbox"]::before {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  left: 2px;
  top: 1px;
  transition: 0.3s;
}

input[type="checkbox"]:checked {
  background: #b50000;
}

input[type="checkbox"]:checked::before {
  transform: translateX(14px);
}

input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 15px !important;
  height: 15px !important;
  border: 2px solid #cfcfe2;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: 0.2s;
  background-color: white;
  padding: 0px;
}

input[type="radio"]::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 5px;
  width: 7px;
  height: 7px;
  background-color: #b50000;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: 0.2s;
}
input[type="radio"]:checked {
  border: 2px solid #b50000;
}
input[type="radio"]:checked::after {
  transform: translate(-42%, -56%) scale(1);
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 23px;
}

.btns {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}
.btns .next-btn {
  padding: 12px 20px;
  border: none;
  background: #002665;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  padding-right: 48px;
  position: relative;
  transition: 0.3s;
}
.btns .back-btn {
  padding: 12px 20px;
  border: none;
  background: transparent;
  color: #002665;
  border-radius: 6px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  padding-left: 48px;
  position: relative;
  transition: 0.3s;
  border: 1px solid #002665;
}

.btns .next-btn::after,
.btns .back-btn:after {
  position: absolute;
  width: 20px;
  height: 20px;
  content: "";
  top: 14px;
  right: 21px;
  background-image: var(--tb-image-arrow);
  background-position: center;
  background-size: auto;
  background-repeat: no-repeat;
}
.btns .back-btn:after {
  filter: brightness(0) saturate(100%) invert(8%) sepia(77%)
    saturate(4538%) hue-rotate(213deg) brightness(93%) contrast(101%);
  right: auto;
  left: 20px;
  rotate: 180deg;
}
.btns .back-btn:hover {
  background-color: #ccc;
}
.btns .next-btn:hover {
  background-color: #b50000;
}
button:disabled {
  background: #999;
  cursor: not-allowed;
  opacity: 0;
}
.row-fields {
  display: flex;
  gap: 17px;
}
.col-fields {
  width: 100%;
}
.checkbox-line p {
  color: #262626;
  font-family: "Poppins";
  font-weight: 500;
  font-size: 14px;
  line-height: 174%;
  padding-right: 20px;
}
.checkbox-line span {
  color: #758599;
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
}
.space-btween {
  margin-top: 20px;
}
.form-step label span {
  color: #758599;
  font-family: "Poppins";
  font-weight: 500;
  font-size: 12px;
  line-height: 174%;
}

.radio-box-line {
  display: flex;
  gap: 183px;
  align-items: center;
}
.row--radio {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #758599;
  font-family: "Poppins";
  font-weight: 400;
  font-size: 16px;
  line-height: 174%;
}
.row--radio input[type="number"] {
  background: transparent !important;
  width: 36px;
  border: 0px;
  padding: 0px !important;
  margin-left: 13px;
  border-bottom: 1px solid #05588e3d;
  border-radius: 0px;
  height: 23px !important;
}
.test-mile-age p {
  color: #758599;
  font-family: "Outfit";
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  padding-bottom: 14px;
}
.step.active span {
  color: #b50000 !important;
}
.toggle--row .checkbox-line {
  margin: 0px;
}
.toggle--row label {
  margin: 0px;
}
.toggle--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0px 6px;
}

.row-inner-name p {
  color: #758599;
  font-family: "Poppins";
  font-weight: 400;
  font-size: 14px;
  line-height: 174%;
}
.row-inner-name label {
  color: #262626;
  font-family: "Poppins";
  font-weight: 500;
  font-size: 14px;
  line-height: 174%;
  margin: 0px;
}
.col-name {
  width: 50%;
}
.row-name {
  display: flex;
  flex-wrap: wrap;
}
.row-inner-name {
  display: flex;
  gap: 6%;
  padding-bottom: 8px;
}
.row-name .row-inner-name label {
  width: 46% !important;
}
.row-inner-name label {
  width: 23%;
}
.border-line {
  border-top: 1px solid #05588e29;
  margin: 28px 0px;
}
.total-price {
  display: flex;
  gap: 30px;
  row-gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}
.total-price label {
  font-family: "Poppins";
  font-weight: 600;
  font-size: 16px;
  line-height: 174%;
  color: #b50000;
}

/* Price Breakdown Container */
.price-breakdown-container {
  margin-top: 30px;
  padding: 20px;
  background: #f7f8fa;
  border-radius: 8px;
  border: 1px solid #05588e1f;
}
.price-breakdown-container h3 {
  color: #002665;
  font-family: "Spline Sans", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #05588e29;
}
.price-breakdown-container .row-inner-name {
  margin: 12px 0;
  padding: 8px 0;
}
.price-breakdown-container .row-inner-name label {
  color: #262626;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  margin: 0;
}
.price-breakdown-container .row-inner-name p {
  color: #262626;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  margin: 0;
  text-align: right;
}
.price-breakdown-container .total-price {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid #05588e29;
  justify-content: space-between;
}
.price-breakdown-container .total-price p {
  color: #262626;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}
.price-breakdown-container .total-price label {
  color: #b50000;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin: 0;
}
.list-form li {
  color: #758599;
  font-family: "Poppins";
  font-weight: 400;
  font-size: 14px;
  line-height: 174%;
  margin-left: 12px;
}
.total-price p {
  color: #262626;
  font-family: "Poppins";
  font-weight: 600;
  font-size: 16px;
  line-height: 174%;
}

/* Custom Success Modal */
.tb-success-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}
.tb-success-modal.active {
  display: flex;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.tb-success-modal-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: slideUp 0.3s ease;
  position: relative;
}
@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.tb-success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #b50000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.tb-success-icon::before {
  content: "✓";
  color: #ffffff;
  font-size: 48px;
  font-weight: bold;
}
.tb-success-modal-content h2 {
  color: #002665;
  font-family: "Spline Sans", sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 15px;
}
.tb-success-modal-content p {
  color: #758599;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
}
.tb-success-modal-content .tb-booking-ref {
  background: #f7f8fa;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  border: 1px solid #05588e1f;
}
.tb-success-modal-content .tb-booking-ref strong {
  color: #002665;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.tb-success-modal-content .tb-booking-ref span {
  color: #b50000;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
}
.tb-success-modal-close {
  background: #002665;
  color: #ffffff;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 10px;
}
.tb-success-modal-close:hover {
  background: #b50000;
}
.step-inner.last-review h3 {
  font-family: "Spline Sans", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: #05162a;
  padding-bottom: 8px;
  position: relative;
  width: fit-content;
  border-bottom: 1px solid #05588e29;
  margin-bottom: 16px;
}
.step-inner.last-review h3:after {
  content: "";
  position: absolute;
  width: 76px;
  height: 2px;
  background: #b50000;
  left: 0px;
  bottom: -1px;
}
@media (max-width: 800px) {
  .row-fields {
    flex-wrap: wrap;
  }
  .col-name {
    width: 100%;
  }
  .row-inner-name label {
    width: 100% !important;
  }
}

@media (max-width: 600px) {
  .row-inner-name {
    display: flex;
    gap: 5px;
    padding-bottom: 8px;
    flex-direction: column;
  }
  .border-line {
    margin: 18px 0px;
  }
  .checkbox-line {
    flex-direction: column;
    align-items: baseline;
  }
  .radio-box-line {
    gap: 24px;
  }
  .btns {
    margin-top: 34px;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 13px;
  }
  .step p {
    display: none;
  }
}

/* Google Places Autocomplete Dropdown Styling */
.pac-container {
  background-color: #ffffff !important;
  border: 1px solid #05588e1f !important;
  border-radius: 8px !important;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15) !important;
  margin-top: 4px !important;
  font-family: "Poppins", sans-serif !important;
  z-index: 9999 !important;
  padding: 8px 0 !important;
}

.pac-item {
  padding: 12px 16px !important;
  cursor: pointer !important;
  border: none !important;
  border-bottom: 1px solid #f0f0f0 !important;
  font-size: 14px !important;
  color: #262626 !important;
  transition: background-color 0.2s ease !important;
}

.pac-item:last-child {
  border-bottom: none !important;
}

.pac-item:hover {
  background-color: #f7f8fa !important;
}

.pac-item-selected {
  background-color: #f7f8fa !important;
}

.pac-item-query {
  font-size: 14px !important;
  color: #262626 !important;
  font-weight: 500 !important;
  padding-right: 8px !important;
}

.pac-matched {
  font-weight: 600 !important;
  color: #002665 !important;
}

.pac-icon {
  margin-right: 8px !important;
  width: 15px !important;
  height: 20px !important;
}

/* Hide "Powered by Google" text and logo */
.pac-container::after {
  display: none !important;
}

.pac-logo:after {
  display: none !important;
  content: none !important;
}

.pac-container .pac-logo {
  display: none !important;
}

/* Remove any Google branding */
.pac-container [class*="pac-logo"],
.pac-container [class*="powered"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Stripe Payment Form Styles */
#stripe-payment-form {
  margin: 20px 0;
}

#stripe-card-element {
  padding: 20px 24px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 15px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 60px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#stripe-card-element:hover {
  border-color: #002665;
  box-shadow: 0 4px 12px rgba(0, 38, 101, 0.1);
}

#stripe-card-element:focus-within {
  border-color: #002665;
  box-shadow: 0 0 0 3px rgba(0, 38, 101, 0.1);
  outline: none;
}

#stripe-card-element iframe {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 50px !important;
  border: none !important;
  background: transparent !important;
}

#stripe-card-errors {
  color: #d63638;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  margin-top: 10px;
  min-height: 20px;
}

#stripe-payment-processing {
  text-align: center;
  padding: 20px;
  color: #002665;
  font-family: "Poppins", sans-serif;
}

.payment-summary {
  margin-bottom: 20px;
}

.payment-summary h3 {
  font-family: "Spline Sans", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: #05162a;
  padding-bottom: 8px;
  position: relative;
  width: fit-content;
  border-bottom: 1px solid #05588e29;
  margin-bottom: 16px;
}

.payment-summary h3:after {
  content: "";
  position: absolute;
  width: 76px;
  height: 2px;
  background: #b50000;
  left: 0px;
  bottom: -1px;
}




