.node--type-webform .node__content {
    width: clamp(320px, 100%, 700px);
    margin: 0 auto;
}


.node--type-webform  .field--name-webform {
  border: 1px solid var(--grey-light-1);
  border-radius: var(--br-s);
  padding: var(--margin-m);
  background-color: var(--white);
  box-shadow: 0 4px 6px var(--c-black-transparent-4);
}



.webform-submission-form {
  position: relative; /* Ensure skeleton overlay is positioned relative to the form */
}

.webform-submission-form {
  .form-control {
    display: block;
    width: 100%;
    padding: var(--margin-xs) var(--margin-s);
    font-size: var(--fs-p);
    font-weight: var(--fw-normal);
    line-height: 1.5;
    color: var(--black);
    background-color: var(--white);
    background-clip: padding-box;
    border: 1px solid var(--grey-base);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: var(--br-s);

    &::placeholder {
        color: var(--grey-dark-2);
        opacity: 1;
        font-size: var(--fc-p);
    }
  }
}

.webform-submission-form .button {
    font-family: var(--ff-sans1);
    background-color: var(--blue-light-1);
    color: var(--white);
    border: 1px solid var(--blue-base);
    margin-bottom: 0;
    padding: var(--margin-s) var(--margin-m);
    font-size: var(--fc-p2);
    font-weight: var(--fw-semibold);
}

form .form-actions {
    align-self: flex-start;
}

[data-drupal-selector="edit-actions"] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--margin-l);
}




/*** BOOKING WEBFORM ****/

.webform-submission-booking-form {

  label {
    font-size: var(--fc-small);
    font-weight: var(--fw-minibold);
    color: var(--blue-dark-2);
    font-family: var(--ff-sans1);
    margin-bottom: 0;
   }

   legend {
    margin-bottom: 0;
   }


  fieldset .fieldset-legend {
    font-size: var(--fc-h1);
    font-weight: var(--fw-semibold);
    color: var(--grey-dark-2);
    margin-bottom: var(--margin-m);
    font-family: var(--ff-display1);
   }

   .form-check {
    margin-bottom: 0;
    min-height: var(--fc-small);
    line-height: 1.2;


    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: var(--margin-s);
   }

   .form-switch:has(.wheelsys-price-container) {
      padding-left: 0; 
      position: relative;
    }

  [data-drupal-selector="edit-rental-data-1"] {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--margin-s);
    margin-bottom: 0;

    > * {
      flex: 1 1 20%;

      flex-wrap: nowrap;
    }

    > [data-drupal-selector="edit-coupon-code-fieldset"] {
      flex: 1 1 100%;

      flex-wrap: nowrap;

      > .fieldset-wrapper {
        max-width: 340px;
      }
    }
  }

  @media all and (width <= 991px) {
    [data-drupal-selector="edit-rental-data-1"] {
      flex-direction: column;

      > * {
        flex: 1 1 100%;
      }
    }
  }

  [data-drupal-selector="edit-rental-date-and-time"] {

  width: 100%;

  .fieldset-legend {
      display: none;
  }

  & > .fieldset-wrapper {
    display: grid;  
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--margin-xs);

    & > .form-item > .fieldset-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        gap: 0;

        .form-item-date-from, .form-item-date-to {
          grid-column: span 3;
        }

        .form-date {
          border-radius: var(--br-s) 0 0 var(--br-s);
        }

        .form-item-time-from, .form-item-time-to {
          grid-column: span 2;
        }

        .form-time {
          border-radius: 0 var(--br-s) var(--br-s) 0;
          border-left: 0;
          

        }
      }
   }
  }

  @media all and (width <= 991px) {
    [data-drupal-selector="edit-rental-date-and-time"] {
      & > .fieldset-wrapper {
        grid-template-columns: 1fr;
      }
    }
  }


  [data-drupal-selector="edit-rental-pickup-and-return-station"] {

    width: 100%;

    .fieldset-legend {
      display: none;
    }


    & > .fieldset-wrapper {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
      gap: var(--margin-m);


      .form-item-have-coupon {
        grid-column: span 2;
      }

      .form-item-cdp {
        grid-column: span 2;
      }
    }

    .webform-type-webform-entity-radios {}

    .station-search-wrapper {
      margin-bottom: 0;      
    }

    /* Overlay modification for station options */
    .station-list {
      position: relative;
    }

    .station-options {
      display: none; /* Hidden by default */
      position: absolute; /* Overlay */
      top: 100%;
      left: 0;
      right: 0;
      z-index: 1000;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      
      background-color: var(--white);
      /* display: flex;  <-- moved to .is-visible state */
      flex-direction: column;
      justify-content: flex-start;
      align-items: stretch;
      gap: var(--margin-m);
      padding: var(--margin-m);
      border: 1px solid var(--grey-base);
      border-radius: 0 0 var(--br-s) var(--br-s);

      overflow-y: auto;
      height: 300px;
      
      scroll-snap-type: y mandatory;

      &.is-visible {
        display: flex;
      }

      .list-item {
        scroll-snap-align: end;
        
        min-height: calc(40px + var(--margin-s) * 2);
        overflow: hidden;
        border-bottom: 1px solid var(--grey-light-1);
        padding: var(--margin-xs) var(--margin-s);
        border-radius: var(--br-s);

        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        
        .form-check-input[type=radio] {
            display: none;
        }

        .form-check {
            display: block;
            min-height: 1.5rem;
            padding-left: 0;
            margin-bottom: 0;
        }


        .form-check-label {
          display: flex;
          flex-direction: row;
          justify-content: flex-start;
          align-items: center;
          gap: var(--margin-s);

          .views-field-field-image {
            width: 40px;
            height: 40px;
            aspect-ratio: 1;
            flex-shrink: 0;
            overflow: hidden;
            border-radius: var(--br-s);


            img {
              width: 100%;
              height: 100%;
              aspect-ratio: 1;
              object-position: center;
              object-fit: cover;
            }
          }

          .views-field-fieldset > span > div {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            gap: var(--margin-xxs);
          }

          .views-field-title {
            font-size: var(--fs-p2);
            font-weight: var(--fw-semibold);
            color: var(--blue-dark-1);
            line-height: 1;
          }

          .views-field-field-subtitle {
            font-size: var(--fs-small2);
            color: var(--blue-dark-2);
            line-height: 1;
            font-weight: var(--fw-normal);
          }

        }
      }

      .list-item:has(.form-check-input:checked) {
        border: 2px solid var(--blue-light-2);
        background-color: var(--c-white-transparent-2);

        .views-field-title {
            font-weight: var(--fw-extrabold);
            color: var(--blue-dark-2);
            
          }

          .views-field-field-subtitle {
            font-weight: var(--fw-semibold);
            color: var(--blue-dark-1);
          }
      }

      /* we don't need it at the moment: */
      label.station-label {
          display: none;
      }

    }

  }

  @media all and (width <= 991px) {
    [data-drupal-selector="edit-rental-pickup-and-return-station"] {
      & > .fieldset-wrapper {
        grid-template-columns: 1fr;
      }
    }
  }

  /* little arrow icon between start/end date/time picker */

  [data-drupal-selector="edit-rental-start"] {
    position: relative;
      
  }

  @media all and (width <= 400px) {
    [data-drupal-selector="edit-rental-start"] {
      &:after {
        display: none;
      }
    }
  }

}
/* Station Sync - Tip Chip */

/* Position the station list as relative to contain the absolute chip */
.station-list {
  position: relative;
}

.station-tip-chip {
  position: absolute;
  bottom: calc(var(--fs-small2) * -2 - var(--margin-xs) * 2);
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--margin-m);
  padding: var(--margin-xxs) var(--margin-s);
  margin: 0;
  background-color: var(--grey-light-2);
  border: 1px solid var(--grey-base);
  border-radius: var(--br-s);
  font-size: var(--fs-small);
  color: var(--blue-base);
  box-shadow: 0 2px 4px var(--c-black-transparent-4);
}

.station-tip-chip .btn-close {
  flex-shrink: 0;
  padding: 0.25em;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  font-size: var(--fs-h3);
  line-height: 1;
}

.station-tip-chip .btn-close:hover {
  opacity: 1;
}

.station-tip-chip .btn-close::before {
  content: "×";
}

/* Disabled return station */
.return-stations-list.is-disabled {
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
  filter: grayscale(100%);
}

/* Hide wizard progress bar on the first page */
.webform-submission-booking-form:has([data-drupal-selector="edit-rental-date-and-time"]) .webform-progress {
  display: none;
  animation: none;
}


/* ******************************* */
/* WEBFORM WIZARD PROGRESS BAR */
/* ******************************* */

/* Wizard progress bar animation */
.webform-submission-booking-form .webform-progress {
  transform-origin: top;
  animation: revealProgress 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  overflow: hidden;

  .progress-tracker {
      display: flex;
      margin: var(--margin-s) auto;
      padding: 0;
      list-style: none;
  }
}

.progress-step .progress-marker {
    color: var(--c-black-transparent-1);
    font-weight: var(--fw-bold);
    font-size: var(--fc-p2);
    font-family: var(--ff-sans1);
    text-align: center;
    line-height: 1;
}

.progress-marker::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -10;
    top: calc(50% - var(--margin-xs) / 2);
    right: -12px;
    width: 100%;
    height: var(--margin-xs);
    transition: background-color 0.3s, background-position 0.3s;
}

.progress-marker::before {
    content: attr(data-text);
    
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 20;
    width: calc(var(--fc-h1) * 1.25);
    height: calc(var(--fc-h1) * 1.25);
    padding-bottom: var(--margin-xxs);
    border-radius: 50%;
    transition: background-color, border-color;
    transition-duration: 0.3s;
}

.webform-progress-tracker .progress-step.is-complete .progress-marker::before, .webform-progress-tracker .progress-step.is-complete:hover .progress-marker::before, .webform-progress-tracker .progress-step.is-complete .progress-marker::after {
    background-color: var(--grey-light-1);
}

.webform-progress-tracker .progress-step:not(.is-active) .progress-marker::before, .webform-progress-tracker .progress-step:hover .progress-marker::before, .webform-progress-tracker .progress-step .progress-marker::after {
    background-color: var(--grey-light-1);
}

.progress-step.is-active .progress-marker::before {
    background-color: var(--blue-light-2);
    color: var(--white);
}

@keyframes revealProgress {
  from {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    transform: translateY(-10px);
  }
  to {
    max-height: 150px;
    opacity: 1;
    margin-bottom: var(--margin-l);
    transform: translateY(0);
  }
}



/* ********************************** */

/* Station Grid Layout */
.station-grid-item {
  display: grid;
  grid-template-areas:
    "image title"
    "image subtitle";
  grid-template-columns: 80px 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--margin-m);
  row-gap: var(--margin-xxs);
  align-items: center;
  width: 100%;
}

.station-image {
  grid-area: image;
  width: 100%;
  height: auto;
  
  img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--br-s);
    aspect-ratio: 1 / 1;
  }
}

.station-title {
  grid-area: title;
  font-family: var(--ff-sans2);
  font-weight: var(--fw-bold);
  font-size: var(--fc-p);
  color: var(--blue-dark-1);
  line-height: 1.2;
  align-self: end;
}

.station-subtitle {
  grid-area: subtitle;
  font-family: var(--ff-sans1);
  font-weight: var(--fw-normal);
  font-size: var(--fc-small);
  color: var(--grey-dark-1);
  line-height: 1.2;
  align-self: start;
}




/* *************************************** */

.webform-submission-booking-form {
  position: relative; /* Ensure skeleton overlay is positioned relative to form */
}

.webform-skeleton-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--white);
  z-index: 2000;
  padding: var(--margin-m);
  border-radius: var(--br-s);
  
  display: flex;
  flex-direction: column;
  gap: var(--margin-l);
  
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.webform-skeleton-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Shimmer Animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.skeleton-item {
  background: #f6f7f8;
  background-image: linear-gradient(to right, var(--grey-light-1) 0%, var(--grey-base) 20%, var(--grey-dark-1) 40%, var(--grey-light-1) 100%);
  background-repeat: no-repeat;
  background-size: 1000px 100%; 
  animation: shimmer 1.5s infinite linear forwards;
  border-radius: var(--br-xs);
}

.skeleton-title {
  height: 2rem;
  width: 250px;
  margin: 0 auto;
}

/* Grid Layout matching Desktop */
.skeleton-grid {
  display: grid;
  grid-template-columns: 2.5fr 1.8fr 1.8fr; /* Station | Start | End */
  gap: var(--margin-m);
  align-items: end;
}

.skeleton-group {
    display: flex;
    flex-direction: column;
    gap: var(--margin-xs);
}

.skeleton-label {
    height: 1rem;
    width: 60%;
}

.skeleton-input {
    height: 3rem; /* Standard input height */
    width: 100%;
}

/* Date/Time Row within the group */
.skeleton-row-inputs {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Date wider than Time */
    gap: 0;
}

.skeleton-row-inputs .skeleton-input:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-right: 1px;
}

.skeleton-row-inputs .skeleton-input:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Mobile Responsive */
@media all and (width <= 991px) {
  .skeleton-grid {
      grid-template-columns: 1fr; /* Stack vertically */
      gap: var(--margin-l);
  }
  
  .skeleton-row-inputs {
      grid-template-columns: 1fr 1fr; /* Equal width for Date/Time on mobile */
  }
}

/* Wrapper for the booking block to prevent CLS */
.booking-webform-wrapper {
  display: block;
  position: relative;
}

/* Ensure the form inside fills the wrapper if needed, or at least respects the flow */
.booking-webform-wrapper .webform-submission-form {
  min-height: 100%;
}



/* *************************************** */
/* **** Extra Options (Step 3) *********** */

/* Grid Layout for Extras */
.webform-submission-booking-form [data-drupal-selector="edit-extra-options-fieldset"] .fieldset-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--margin-m);

  & > .form-check {
    background-color: var(--white);
    border: 1px solid var(--grey-light-1);
    border-radius: var(--br-s);
    padding: var(--margin-s);
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: var(--margin-xs);
    cursor: pointer;

    .form-check-input {
      margin: 0 auto auto 0;
      padding: 0;
      width: var(--fc-h3);
      height: var(--fc-h3);
      border-radius: 0;
      border: 0;
      background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 466.67 466.67"><defs><style> .cls-1 { fill: %23a0aabb; } </style></defs><g id="Layer_1-2" data-name="Layer 1"><path class="cls-1" d="M66.67,0C29.9,0,0,29.9,0,66.67v333.33c0,36.77,29.9,66.67,66.67,66.67h333.33c36.77,0,66.67-29.9,66.67-66.67V66.67c0-36.77-29.9-66.67-66.67-66.67H66.67ZM66.67,400V66.67h333.33l.07,333.33H66.67Z"/></g></svg>');
      background-repeat: no-repeat;
      background-position: left top;
      background-size: contain;
      background-color: var(--white);
      flex: 1 1 1%;

    }

    .form-check-input:checked {
      
      background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="UTF-8"%3F><svg id="Layer_2" data-name="Layer 2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 466.67 466.67"><defs><style> .cls-1 { fill: %231c58de; } </style></defs><g id="Layer_1-2" data-name="Layer 1"><g><path class="cls-1" d="M133.33,133.33h200v200h-200v-200Z"/><path class="cls-1" d="M466.67,400V66.67c0-36.77-29.9-66.67-66.67-66.67H66.67C29.9,0,0,29.9,0,66.67v333.33c0,36.77,29.9,66.67,66.67,66.67h333.33c36.77,0,66.67-29.9,66.67-66.67ZM66.67,66.67h333.33l.07,333.33H66.67V66.67Z"/></g></g></svg>');
      background-color: var(--white);
      

    }

    &:has(.form-check-input:disabled) {
      pointer-events: none;
      filter: none;
      opacity: 0.3;
    }

    &:has(.form-check-input:checked) {
      transform: scale(1.02);
      border: 2px solid var(--blue-light-2);
      box-shadow: 0 6px 12px var(--c-black-transparent-3);
    }

    .form-check-label {
      font-family: var(--ff-sans2);
      font-weight: var(--fw-semibold);
      font-size: var(--fc-p2);
      color: var(--blue-dark-2);
      line-height: 1.1;
      margin-left: 0;
      flex: 1 1 80%;

    }

    .description {
      margin-left: 0; 
      width: 100%;
      flex: 1 1 100%;
      color: var(--grey-dark-2);
    }



  }




}




/* Description Styling */
.webform-submission-booking-form .description {
  font-size: var(--fc-small);
  color: var(--grey-dark-2);
  margin-left: calc(var(--margin-s) + 24px); /* Indent to align with text, not icon */
  height: 100%;
}

/* *************************************** */
/* **** Form Switch Checkbox Styling ***** */

.form-switch {
  padding-left: var(--margin-l); /* Ensure space for the switch */
  position: relative;
}

.form-switch .form-check-input {
  height: var(--fc-p);
  width: var(--fc-p); /* Slightly wider for better visibility */
  margin-left: calc(var(--margin-l) * -1); /* Pull it back into the padding */
  border-radius: 0;
  border: none;
  background-image: url('../icons/checkbox-checked-off.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent; /* Remove default background color */
  margin-top: 0; /* reset default margin */
  
  /* Disable default Bootstrap transition since we are swapping images */
  transition: none; 
  opacity: 0.2;
  transform: scale(1);

  transition: all 0.2s cubic-bezier(0.78,0.55,0.00,1.77);
}

.form-switch .form-check-input:focus {
  box-shadow: none; /* Remove default focus glow */
  background-image: url('../icons/checkbox-checked-off.svg'); /* Ensure it stays off on focus if not checked */
}

.form-switch .form-check-input:checked {
  background-color: transparent;
  border-color: transparent;
  background-image: url('../icons/checkbox-checked-on.svg');
  background-position: center;
  opacity: 0.8;
  transform: scale(1.1);

}

.form-switch .form-check-input:checked:focus {
   background-image: url('../icons/checkbox-checked-on.svg');
}

/* Make the label cover the entire container */
.form-switch .form-check-label::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 5;
}



/* ******* ************************* */
/*  Page 3:  Car Rental details */

fieldset[data-drupal-selector="edit-car-rental-details"] {
  margin-top: var(--margin-xl);
  padding: var(--margin-l);
  border: 1px solid var(--grey-light-1);
  background-color: var(--grey-light-2);
  border-radius: var(--br-m);

  .form-type-textfield {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: var(--margin-xxs);
  }

  .input-group {
    background: var(--grey-light-2);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: var(--margin-xs);
  }

  input[type="text"] {
    background: var(--grey-light-2);
    border: none;
    padding: 0;
    flex: 1 1 50%;
  }

  .input-group-text {
    background: var(--grey-light-2);
    border: none;
    padding: 0;
    color: var(--grey-dark-2);
  }

  .description {
    margin-left: 0;
  }


}

/*  *******************************  */
/*   Page 4: Customer Personal Data */


div[data-drupal-selector="edit-rental-data-4"] {

  max-width: 600px;
  margin: 0 auto;

  .form-item-message-userdata, .form-item-markup-fasttrack {
    margin-top: 0;
    margin-bottom: var(--margin-xs);
    padding: var(--margin-l);
    border: 1px solid var(--grey-light-1);
    background-color: var(--grey-light-2);
    border-radius: var(--br-m);

    p {
      margin-left: 0;
      color: var(--blue-dark-2);
      font-size: var(--fc-p);
      line-height: 1.4;
      margin-bottom: 0;
      text-wrap: balance;

      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: flex-start;
      align-items: center;
      gap: var(--margin-xs);

      b {
        font-size: var(--fc-p2);
        text-align: center;
      }
    }

    p::before {
      content: "";
      width: var(--fc-h1);
      height: var(--fc-h1);
      color: var(--blue-dark-2);
      fill: var(--blue-dark-1);
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      opacity: 0.6;
    }
  }

  .form-item-message-userdata  {
    background-color: var(--accent-5);

    p:before {
      background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 582 1000"><path fill="currentColor" d="M582 413v356q0 32-32 32H32q-32 0-32-32V413q0-10 3-16.5t7-10t12-5t13-2t15.5 0t14.5.5V253h1q9-87 74-140.5T293 59t151 62.5T515 273h1l2 107q4 0 14.5-.5t15 0t13 2t12 5t6.5 10t3 16.5zM421 251q0-51-37-74t-91-23q-53 0-92 25.5T162 256v124h259V251z"/></svg>');
      
      
    }
  }

  .form-item-markup-fasttrack {
    background-color: var(--grey-light-3);

    p:before {
      background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 24 24"><path fill="currentColor" d="M15 4a8 8 0 0 1 8 8a8 8 0 0 1-8 8a8 8 0 0 1-8-8a8 8 0 0 1 8-8m0 2a6 6 0 0 0-6 6a6 6 0 0 0 6 6a6 6 0 0 0 6-6a6 6 0 0 0-6-6m-1 2h1.5v3.78l2.33 2.33l-1.06 1.06L14 12.4V8M2 18a1 1 0 0 1-1-1a1 1 0 0 1 1-1h3.83c.31.71.71 1.38 1.17 2H2m1-5a1 1 0 0 1-1-1a1 1 0 0 1 1-1h2.05L5 12l.05 1H3m1-5a1 1 0 0 1-1-1a1 1 0 0 1 1-1h3c-.46.62-.86 1.29-1.17 2H4Z"/></svg>');
      
      
    }
  }

}






/*  *******************************  */
/*   Page 5: Car Rental Summary  */


fieldset[data-drupal-selector="edit-car-rental-summary"] {
  margin-top: var(--margin-xl);
  padding: var(--margin-l);
  border: 1px solid var(--grey-light-1);
  background-color: var(--grey-light-2);
  border-radius: var(--br-m);


  .fieldset-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--margin-xxs);

  
  }

  .form-type-textfield {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: var(--margin-xxs);
  }

  .input-group {
    background: var(--grey-light-2);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: var(--margin-xs);
  }

  input[type="text"] {
    background: var(--grey-light-2);
    border: none;
    padding: 0;
    flex: 1 1 50%;
  }

  .input-group-text {
    background: var(--grey-light-2);
    border: none;
    padding: 0;
    color: var(--grey-dark-2);
  }

  .description {
    margin-left: 0;
  }
}

fieldset[data-drupal-selector="edit-payment-method-fieldset"] {
  margin-top: var(--margin-xl);
  padding: var(--margin-l);
  border: 1px solid var(--grey-light-1);
  background-color: var(--grey-light-2);
  border-radius: var(--br-m);


  .fieldset-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--margin-xxs);

  
  }

  .form-switch  {
    margin-bottom: var(--margin-s);
  }

  .form-switch label {
  
    font-size: var(--fc-p2);
    color: var(--blue-dark-2);
    line-height: 1.1;
    margin-left: 0;
  }
}


fieldset[data-drupal-selector="edit-legal-agreements"] {
  margin-top: var(--margin-xl);
  padding: var(--margin-l);
  border: 1px solid var(--grey-light-1);
  background-color: var(--grey-light-2);
  border-radius: var(--br-m);


  .fieldset-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--margin-xxs);

    .form-switch label {
    
    font-weight: var(--fw-semibold);
    font-size: var(--fc-p2);
    color: var(--blue-dark-2);
    line-height: 1.1;
    margin-left: 0;
  } 
    .description {
      line-height: 1.1;
    }
  }
}


/* **** WEBFORM BUTTONS *** */

.webform-submission-form .button.webform-button--previous {
  background-color: var(--grey-light-1);
  color: var(--blue-dark-2);
  border: 1px solid var(--grey-light-1);
  font-size: var(--fc-p);

}


/* *************************************** */
/* **** AJAX Loading Overlay ************* */

.ajax-progress,
.page-load-progress {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--c-white-transparent-1) !important;
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

.ajax-progress .throbber,
.page-load-progress .throbber {
  width: 100px !important;
  height: 100px !important;
  aspect-ratio: 1;
  border-radius: 50%;
  background: 
    radial-gradient(farthest-side, var(--blue-light-2) 94%,#0000) top/8px 8px no-repeat,
    conic-gradient(#0000 30%,var(--blue-light-2)) !important;
  -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0);
  mask: radial-gradient(farthest-side,#0000 calc(100% - 8px),#000 0);
  animation: l13 1s infinite linear !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.ajax-progress .message,
.page-load-progress .message {
  margin-top: var(--margin-m);
  font-family: var(--ff-sans2);
  font-weight: var(--fw-bold);
  color: var(--blue-dark-1);
  font-size: var(--fc-h3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes l13{ 
  100%{transform: rotate(1turn)}
}


