.flight{
  display: flex;
  flex-direction: column;
  gap: 2rem;

  &__option{
    background: var(--tide-booking-flight-options-card-background);
    border-radius: var(--tide-booking-flight-options-card-border-radius);
    border: var(--tide-booking-flight-options-card-border);
    display: flex;
    flex-direction: column-reverse;
    overflow: hidden;


    @include media-sm {
    }

    &__header{
      display: flex;
      align-items: center;
      gap: 10px;

      &__wrapper{
        display: grid;
        align-items: center;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        width: 100%;
      }

      .radiobutton{
        padding: 0;

        &__input{
          position: relative;
          margin-right: 0;
          margin-top: 0;

          &:checked{
           .flight__option{
             background: $color-primary;
           }
          }
        }
      }
    }

    // &__body{
    //   margin-top: 15px;
    //   padding-top: 15px;
    //   border-top: 1px solid $gray-medium;

    //   &__wrapper{
    //     display: grid;
    //     grid-template-rows: repeat(1, 1fr);
    //     gap: 10px;
    //     margin-left: 35px;

    //     @include media-sm {
    //       grid-template-columns: 1fr 4fr;
    //     }
    //   }
    // }
  }

  &__footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    // @include media-sm {
    //   border-bottom: none;
    //   border-left: 2px solid $gray-border-light;
    // }

    &__wrapper{
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
    }
  }


  &__operator{
    width: 45px;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;

    &__img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
  }

  &__price{
    text-align: right;
    display: flex;
    align-items: center;
    gap: 20px;

    // @include media-sm {
    //   align-items: center;
    // }

    button{
      width: 100%;
      text-align: center;
      justify-content: center;
      align-self: flex-end;
      @include media-md {
        max-width: 162px;
        min-width: 162px;
      }
    }

    strong{
      font-weight: 600;
      font-size: 20px;
    }
  }

  &__content{
    display: flex;
    flex-direction: column;
  } 

  &__flights{
    display: flex;
    flex-direction: column;
    background: var(--tide-booking-flight-options-card-background);
  }

  &__flight{
    display: flex;
    flex-direction: column;
    gap: 0rem;

    // &:not(:first-child){
    //   border-top: 2px solid $gray-border-light;
    // }

    &__header{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 20px;
      background: var(--tide-booking-flight-options-card-header-background);
      border-bottom: var(--tide-booking-flight-options-card-header-border);
    }

    &__container{
      display: grid;
      align-items: center;
      grid-template-columns: 1fr auto;
      gap: 0rem;
      position: relative;
      padding: 20px;

      @include media-md {
        gap: 1rem;
        grid-template-columns: 1fr 16%;
      }
    }

    &__wrapper{
      display: grid;
      grid-template-rows: repeat(1, 1fr);
      gap: 20px;

      
      @include media-md {
        gap: 10px;
        grid-template-columns: 20% 1fr;
      }
    }

    &__airport{
      display: flex;
      align-items: center;
    }

    &__operator{
      font-size: 14px;

      @include media-lg {
        font-size: 16px;
      }
    }
  }

  &__logo{
    width: auto;
    max-height: 30px;

    // &__img{
    //   width: auto;
    //   height: 100%;
    //   object-fit: cover;
    //   object-position: center;
    // }

    &__wrapper{
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 3px;
      font-size: 12px;

      @include media-md {
        flex-direction: column;
        align-items: flex-start;
      }
    }
  }

  &__info{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;

    &__times{
      display: flex;
      flex-direction: column;
      gap: 0rem;
      font-size: 16px;
      line-height: 20px;

      &__wrapper{
        display: flex;
        flex-direction: column-reverse;
        justify-content: flex-end;
        gap: 3px;

        @include media-sm {
          flex-direction: row;
          justify-content: space-between;
          gap: 10px;
        }

        svg{
          fill: var(--tide-booking-flight-options-dapart-arrive-icon--color);

          @include media-sm {
            margin:0 20px;
            margin-top: 10px;
          }
        }

        &--arrival{
          display: flex;
          flex-direction: column;
          align-items: flex-end;
          justify-content: flex-start;

          @include media-sm {
            align-items: flex-start;
            flex-direction: row;
            justify-content: space-between;
            gap: 10px;
          }
        }
      }

      strong{
        color: var(--tide-booking-flight-options-times-title-color);
        font-family: var(--tide-booking-flight-options-times-title-font-family);
        font-weight: var(--tide-booking-flight-options-times-title-font-weight);
      }

      p{
        margin: 0;
        font-family: var(--tide-booking-flight-options-times-font-family);
        color: var(--tide-booking-flight-options-times-color);
      }

      &__days{
        font-size: 12px;
        font-weight: 300;
        color: $invalid;
      }

      &--arrival{
        align-items: flex-end;
        text-align: right;
      }

    }

    &__duration{
      line-height: 1.5;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
      font-size: 12px;

      &--waittime{
        gap: 8px;
      }

      &__stops{
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        height: 1.5px;
        width: 100%;
        background: var(--tide-booking-flight-options-stops-line-color);
        z-index: 1;

        &--stoptime{
          background-color: transparent;
          border-top: 1.5px dashed $black;
          height: 0;
        }
      }

      &__stoptime{
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      &__stop{
        height: 6px;
        width: 6px;
        background: var(--tide-booking-flight-options-stop-color);
        border: var(--tide-booking-flight-options-stop-border);
        border-radius: 50%;
      }

      strong{
        font-weight: 700;
      }

      p{
        margin: 0;
      }
    }
  }

  &__detail{
    display: flex;
      flex-direction: column;
      gap: 20px;
      overflow: hidden;;
      height: auto;
      max-height: 0px;
      background-color: var(--tide-booking-flight-options-detail-card-background);
      margin: 0 20px;
      padding: 0 20px;
      margin-bottom: 0rem;
      border: var(--tide-booking-flight-options-detail-card-border);
      border-radius: var(--tide-booking-flight-options-detail-card-border-radius);
      // transform: scaleY(0);
      // transform-origin: top;
      opacity: 0;
      transition: all .3s ease, max-height 0.5s ease, opacity 0.5s ease, transform .5s ease-in-out, padding 0.3s ease-in-out;
  
      @include media-md {
        margin: 0 20px;
      }
  
      &--active{
        max-height: 1000px;
        min-height: auto;
        transform: scaleY(1);
        opacity: 1;
        padding: 20px;
        margin-bottom: 20px;
  
        @include media-md {
          margin-bottom: 20px;
        }
      }

    &__btn{
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 10px;
      border-radius: var(--tide-booking-flight-options-detail-toggle-border-radius);
      font-size: 14px;
      color: var(--tide-booking-flight-options-detail-toggle-icon-color);
      background: var(--tide-booking-flight-options-detail-toggle-background);
      border: var(--tide-booking-flight-options-detail-toggle-border);
      cursor: pointer;
      transition: all .3s ease-in-out;

      &__wrapper{
        position: absolute;
        top: 20px;
        right: 20px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 5px;
        padding: 0%;

        @include media-md {
          position: relative;
          top: 0;
          right: 0;
        }
      }
      
      svg{
        fill: var(--tide-booking-flight-options-detail-toggle-icon-color);
        transition: all .3s ease-in-out;
      }

      &:hover, &:focus{
        color: var(--tide-booking-flight-options-detail-toggle-icon-color-hover);
        background: var(--tide-booking-flight-options-detail-toggle-background-hover);
        border: var(--tide-booking-flight-options-detail-toggle-border-hover);

        svg{
          fill: var(--tide-booking-flight-options-detail-toggle-icon-color-hover);
        }
      }

      &--active{
        .flight__detail__btn__arrow{
          transform: rotate(90deg);
        }
      }
    }

    .flight__info{
      &__times{
        font-size: 14px;

        p{
          font-size: 12px;

          @include media-md {
            font-size: 14px;
          }
        }
      }
    }
  }

  &__rate{
    display: flex;
    flex-direction: column;
    // border-top: 2px solid $gray-border-light;
    overflow-y: hidden;
    background-color: $white;
    height: 100%;
    max-height: 1.5px;
    transition: all .3s ease-in-out;



    &__container{
      display: flex;
      flex-direction: column;
      gap: 20px;
      padding: 20px;

      @include media-md {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 20px;
      }
    }

    &__title{
      display: flex;
      flex-direction: column;
      h2{
        font-size: 20px;
        font-family: proxima-nova, sans-serif;
        color: $gray-dark;
        margin-bottom: 0rem;

        @include media-md {
          font-size: 30px;
        }

        strong{
          font-weight: 600;
          color: $black;
        }
      }
    }

    &__wrapper{
      display: flex;
      align-items: center;
      gap: 20px;
      overflow-x: auto;
      @extend %scrollbar-none;
      margin: -20px;
      padding: 20px;

      @include media-md{
        overflow-x: visible;
      }
    }

    &__card{
      border: solid 1px $gray-border-medium;
      border-top: 3px solid $economy;
      border-radius: 10px;
      max-width: 180px;
      min-width: 180px;
      // opacity: 0.7;
      cursor: pointer;
      transform: scale(1);
      transition: all .3s ease-in-out;

      &__header{
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 10px;
        background: $economy-background;
        border-radius: 1rem 1rem 0 0;
  
        &__title{
          font-family: "proxima-nova", sans-serif;
          font-size: 18px;
          font-weight: 500;
          color: $economy;
          margin: 0;
        }
      }
  
      &__content{
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 10px;
        overflow: hidden;
        min-height: 70px;
        max-height: 70px;
      }
  
      &__item{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 3px;
        color: $gray-dark;
        font-size: 20px;
        font-weight: 500;
  
  
        svg{
          fill: $economy;
          transform: rotate(0deg);
          transition: all .3s ease-in-out;
        }
  
      }
  
      &__chairs{
        font-size: 12px;
        font-weight: lighter;
        color: $price-increase;
      }
  
      &__lowest{
        font-size: 14px;
        font-weight: bold;
        color: $price-decrease;
      }

      &--active{
        border-width: 2px;
        border-color: $economy;
        border-top: 3px solid $economy;

        .flight__rate__card__item svg{
          transform: rotate(90deg);
        }
      }

      &:hover{
        transform: scale(1.05);
      }

      &--premium{
        border-top: 3px solid $premium;

        .flight__rate__card__header{
          background: $premium-background;
        }

        .flight__rate__card__header__title{
          color: $premium;
        }

        .flight__rate__card__item svg{
          fill: $premium;
        }

        &--active{
          border-width: 2px;
          border-color: $premium;
          border-top: 3px solid $premium;

          .flight__rate__card__item svg{
            transform: rotate(90deg);
          }
        }
      }

      &--business{
        border-top: 3px solid $business;

        .flight__rate__card__header{
          background: $business-background;
        }

        .flight__rate__card__header__title{
          color: $business;
        }

        .flight__rate__card__item svg{
          fill: $business;
        }

        &--active{
          border-width: 2px;
          border-color: $business;
          border-top: 3px solid $business;

          .flight__rate__card__item svg{
            transform: rotate(90deg);
          }
        }
      }
    }

    p{
      font-size: 12px;
      margin: 0;

      strong{
        font-weight: 700;
      }
    }

    &__change{
      font-size: 12px;
    }

    &__modal{
      background: #f9f9f9;
      border-radius: 10px;
      width: 100%;
      max-width: 1440px;
      max-height: 920px;
      height: calc(100vh - 40px);
      z-index: 101;
      position: relative;
      display: grid;
      grid-template-rows: auto 60px 1fr auto;

      @include media-sm {
        margin: 45px 20px;
      height: calc(100vh - 90px);
      }

      @include media-lg {
        margin: 45px;
      }

      &__container{
        position: fixed;
        height: 100vh;
        width: 100vw;
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 100;
        top: 0;
        left: 0;

        &::after{
          content: "";
          position: absolute;
          height: 100%;
          width: 100%;
          background: #0a0a0abb;
          z-index: 100;
        }

        &--active{
          display: flex;
        }
      }

      &__header{
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 20px;
        background-color: $white;
        border-radius: 10px 10px 0px 0px;
        box-shadow: 0px 3px 10px 0px #00000021;
        position: relative;
        z-index: 1;

        &__title{
          font-family: "proxima-nova", sans-serif;
          font-size: 16px;
          font-weight: 500;
          margin: 0;
        }

        &__close{
          font-size: 16px;
          background-color: transparent;
          border: none;
          height: auto;
          cursor: pointer;
        }
      }

      &__content{
        padding: 2rem;
        overflow: auto;
        @extend %scrollbar-thin;
        display: grid;
        grid-auto-columns: 310px;
        grid-auto-flow: column;
        gap: 20px;
      }

      &__tabs{
        display: flex;
        gap: 1rem;
        padding: 0 20px;
        margin-bottom: 10px;
        background-color: $white;
        height: 60px;
      }

      &__tab{
        font-size: 12px;
        color: $gray-medium;
        background: transparent;
        border: none;
        border-bottom: solid 2px $white;
        cursor: pointer;
        transition: border .3s ease-in-out;
        height: 100%;

        @include media-md {
          font-size: 16px;
        }

        &:hover, &:focus{
          color: $btn-hover;
        }

        &--active{
          color: $color-primary;
          border-bottom: solid 2px $color-primary;
        }
      }

      &__card{
        background: $white;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 1rem;
        height: auto;
        border: solid 1px $gray-border-medium;
        border-top: 3px solid $economy;
        // min-height: calc(100% - 40px);

        &__header{
          padding: 0 20px;
          padding-top: 20px;
          background: $economy-background;
          border-radius: 10px 10px 0 0;

          &__title{
            font-family: "proxima-nova", sans-serif;
            font-size: 20px;
            margin: 0;
            color: $economy;
          }

          &__class{
            font-size: 12px;
            font-weight: 300;
            margin: 0;
          }
        }

        &__items{
          display: flex;
          flex-direction: column;
          gap: 10px;
          padding: 20px;

          &--top{
            background: $economy-background;
          }
        }

        &__item{
          display: grid;
          grid-template-columns: 20px 1fr;
          align-items: center;
          gap: 10px;

          svg{
            fill: $gray-dark;
          }

          &__wrapper{
            font-size: 12px;

            p{
              margin: 0;
            }

            strong{
              font-weight: 700;
            }
          }

          &--border{
            width: 100%;
            height: 1px;
            background: $gray-border-light;
          }

          &--disabled{
            opacity: 0.25;
          }
        }

        &__footer{
          display: flex;
          flex-direction: row-reverse;
          justify-content: space-between;
          align-items: center;
          gap: 10px;
          padding:0 20px;
          padding-bottom: 20px;

          button{
            width: 100%;
            text-align: center;
            justify-content: center;
            @include media-md {
              max-width: 162px;
            }
          }

          .price {
            white-space: nowrap;
        
            &--decrease {
              color: $price-decrease;
            }
        
            &--increase {
              color: $price-increase;
            }
          }
        }

        &--premium{
          border-top: 3px solid $premium;

          .flight__rate__modal__card__header, .flight__rate__modal__card__items--top{
            background: $premium-background;
          }

          .flight__rate__modal__card__header__title{
            color: $premium;
          }
        }

        &--business{
          border-top: 3px solid $business;

          .flight__rate__modal__card__header, .flight__rate__modal__card__items--top{
            background: $business-background;
          }

          .flight__rate__modal__card__header__title{
            color: $business;
          }
        }
      }

      &__footer{
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        padding: 20px;
        background-color: $white;
        border-radius: 0px 0px 10px 10px;
        box-shadow: 0px -3px 10px 0px #00000021;

        button{
          width: 100%;
          text-align: center;
          justify-content: center;
          @include media-md {
            max-width: 162px;
          }
        }
      }
    }

    &__detail{
      overflow: auto;
      @extend %scrollbar-thin;
      display: none;
      grid-auto-columns: 310px;
      grid-auto-flow: column;
      gap: 20px;
      padding:0rem 20px;
      max-height: 0px;
      opacity: 0;
      transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out, padding-bottom 0.3s ease-in-out;

      @include media-md {
        display: grid;
      }

      &--active{
        display: none;
        max-height: 1000px;
        opacity: 1;
        padding-bottom: 20px;

        @include media-md {
          display: grid;
        }
      }

    }

    &--active{
      height: 100%;
      max-height: 1000px;
    }
  }

  &__status{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: $white;
    background: $color-primary;
    border-radius: 50%;
    padding: 10px;
    font-size: 12px;
    font-weight: 300;
    width: 30px;
    height: 30px;

    &--pub{
      background: $price-decrease;
    }
  }

  &__airport{
    display: none;
    align-items: center;
    gap: 5px;

    @include media-sm {
      display: flex;
    }
  }

  &__times{
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    &__date{
      font-size: 14px;

      @include media-lg {
        font-size: 16px;
      }
    }
  }

  &__filter{
    max-width: 360px;
    position: fixed;
    left: 0%;
    top: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: $white;
    height: 100%;
    max-height: 97.3vh;
    width: 100%;
    padding: 20px;
    box-shadow: 0px 0px 5px rgba(158, 158, 158, 0.447);
    transform: translateX(-100%);
    transition: all .3s ease-in-out;
    overflow-y: auto;
    @extend %scrollbar-thin;

    &--active{
      transform: translateX(0%);
    }

    &__header{
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 10px;

      &__title{
        h3{
          margin-bottom: 0rem;
        }

        p{
          font-weight: var(--tide-booking-flight-options-filter-header-text-font-weight);
          color: var(--tide-booking-flight-options-filter-header-text-color);
          font-size: 16px;
        }

        strong{
          font-weight: var(--tide-booking-flight-options-filter-header-text-strong-font-weight);
          color: var(--tide-booking-flight-options-filter-header-text-strong-color);
        }
      }
    }

    &__body{
      display: flex;
      flex-direction: column;
      gap: 30px;
    }

    &__group{
      display: flex;
      flex-direction: column;
      gap: 20px;

      &__title{
        font-family: var(--tide-booking-flight-options-filter-group-title-text-font-family);
        font-size: 18px;
        font-weight: var(--tide-booking-flight-options-filter-group-title-text-font-weight);
        color: var(--tide-booking-flight-options-filter-group-title-text-color);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 5px;
        border-bottom: var(--tide-booking-flight-options-filter-group-title-text-border); 

        svg{
          fill: $color-primary;
        }
      }

      &__wrapper{
        display: flex;
        flex-direction: column;
        gap: 10px;

        p{
          margin: 0px;
          font-size: 16px;
          padding: 0rem 10px;
          font-family: var(--tide-booking-flight-options-filter-group-title-subtext-font-family);
          font-weight: var(--tide-booking-flight-options-filter-group-title-subtext-font-weight);
          color: var(--tide-booking-flight-options-filter-group-title-subtext-color);
        }
      }

      .tree{
        padding: 7.5px 10px;

        .checkbox, .radiobutton{
          padding: 0rem 15px 0 28px
        }

        .checkbox__input--parent, .radiobutton__input--parent{
          top: -1px;
        }

        .radiobutton__label-text{
          display: flex;
          flex-direction: row;
          align-items: center;
          gap: 5px;
          color: var(--tide-booking-checkbox-color-text);

          .amount{
            color: $color-primary;
          }
        }
      }
    }

    &__slider {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 7.5px 10px;

      &__value{
        font-size: 12px;
        display: flex;
        justify-content: space-between;
        width: 100%;
      }

      // .slider--progress {
      //   -webkit-appearance: none;
      //   width: 90%;
      //   height: 4px;
      //   border-radius: 5px;
      //   background: linear-gradient(to right, $color-primary 0%, $color-primary calc((var(--value) - 2) / 5 * 100%), $gray-light calc((var(--value) - 2) / 5 * 100%), $gray-light 100%);
      //   outline: none;
      //   opacity: 0.7;
      //   transition: opacity .15s ease-in-out;
        
      //   &::-webkit-slider-runnable-track {
      //     width: 90%;
      //     height: 4px;
      //     cursor: pointer;
      //     animate: 0.2s;
      //     background: linear-gradient(to right, $color-primary 0%, $color-primary calc((var(--value) - 2) / 5 * 100%), $gray-light calc((var(--value) - 2) / 5 * 100%), $gray-light 100%);
      //     border-radius: 5px;
      //   }
      
      //   &::-moz-range-track {
      //     width: 90%;
      //     height: 4px;
      //     cursor: pointer;
      //     animate: 0.2s;
      //     background: linear-gradient(to right, $color-primary 0%, $color-primary calc((var(--value) - 2) / 5 * 100%), $gray-light calc((var(--value) - 2) / 5 * 100%), $gray-light 100%);
      //     border-radius: 5px;
      //   }
      
      //   &::-webkit-slider-thumb {
      //     -webkit-appearance: none;
      //     appearance: none;
      //     width: 16px;
      //     height: 16px;
      //     border-radius: 50%;
      //     background: $color-primary;
      //     cursor: pointer;
      //     margin-top: -5px;
      //   }
      
      //   &::-moz-range-thumb {
      //     width: 16px;
      //     height: 16px;
      //     border-radius: 50%;
      //     background: $color-primary;
      //     cursor: pointer;
      //     margin-top: -5px;
      //   }
      // }



      }
    
      .double-slider-box {
        background-color: transparent;
        border-radius: 10px;
        width: 100%;
        max-width: 342px;
        margin-left: 10px;
      }
      
      .range-slider {
        position: relative;
        width: 100%;
        height: 5px;
        margin: 30px 0;
        background-color: var(--tide-booking-slider-range-background);
        border-radius: 5px;

        input{
          padding: 0rem;
        }
      }
      
      .slider-track {
        height: 100%;
        position: absolute;
        background-color: var(--tide-booking-slider-track-background);
        left: 0;
        right: 100%;
        border-radius: 5px;
      }
      
      .range-slider input[type="range"] {
        position: absolute;
        width: 101%;
        left: -3px;
        top: 0;
        transform: translateY(-50%);
        background: none;
        pointer-events: none;
        border: none;
        appearance: none;
        height: 5px;
      }
      
      input[type="range"]::-webkit-slider-thumb {
        height: 25px;
        width: 25px;
        border-radius: 50%;
        border: 3px solid var(--tide-booking-slider-thumb-border-color);
        background: var(--tide-booking-slider-thumb-background);
        pointer-events: auto;
        appearance: none;
        cursor: pointer;
        box-shadow: 0 1.25px 5.625px -1.25px rgba(0, 0, 0, 0.25);
        position: relative;
        z-index: 2; /* Ensure thumbs appear above the track */
      }
      
      input[type="range"]::-moz-range-thumb {
        height: 25px;
        width: 25px;
        border-radius: 50%;
        border: 3px solid var(--tide-booking-slider-thumb-border-color);
        background: var(--tide-booking-slider-thumb-background);
        pointer-events: auto;
        cursor: pointer;
        box-shadow: 0 1.25px 5.625px -1.25px rgba(0, 0, 0, 0.25);
        position: relative;
        z-index: 2;
      }
      
      .input-box {
        display: flex;
        justify-content: space-between;
        width: 100%;
      }
      
      .min-box,
      .max-box {
        width: 50%;
        font-size: 16px;
      }
      
      .min-box {
        margin-right: 10px;
      }
      
      .max-box {  
        text-align: right;
      }
      
      input[type="number"] {
        width: 40px;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        text-align: center;
      }
      
      .min-tooltip,
      .max-tooltip {
        position: absolute;
        top: -35px;
        font-size: 12px;
        color: #555;
        background-color: #fff;
        padding: 5px;
        border: 1px solid #ddd;
        border-radius: 5px;
        white-space: nowrap;
        z-index: 1;
      }
      
      .min-tooltip {
        left: 20px;
        transform: translateX(-50%);
      }
      
      .max-tooltip {
        right: 20px;
        transform: translateX(50%);
      }
    }
}


// .flight-option {
//   @extend %reset;
//   width: 100%;
//   padding: $gutter;

//   &:not(:first-child) {
//     margin-top: $gutter;
//     border-top: 1px solid $gray-medium;
//   }

//   &__header {
//     display: flex;
//     align-items: flex-start;

//     @include media-md {
//       margin-bottom: 0;
//       justify-content: space-between;
//     }
//   }

//   &__header-copy {
//     padding-top: 0.75rem;
//     font-size: 1.4rem;

//     @include media-md {
//       font-size: 1.6rem;
//     }
//   }

//   &__header-actions {
//     margin-left: auto;
//     display: flex;
//     align-items: center;

//     .cta {
//       display: none;

//       @include media-md {
//         display: flex;
//       }
//     }
//   }

//   &__select {
//     position: relative;

//     @include media-md {
//       display: none;
//     }
//   }

//   &__select-label {
//     padding: 0.3rem $gutter * 0.5;
//     margin-top: -1.5rem;
//     margin-bottom: 1rem;
//     display: inline-flex;
//     align-items: center;
//     font-size: 1.3rem;
//     text-transform: uppercase;
//     border-radius: 0 0 0.5rem 0.5rem;
//     color: $white;
//     background-color: $color-primary;

//     @include media-md {
//       display: none;
//     }

//     &:before {
//       content: "";
//       width: 10px;
//       height: 0.5rem;
//       margin: -0.5rem 0.5rem 0 0;
//       display: inline-block;
//       border-left: 2px solid $white;
//       border-bottom: 2px solid $white;
//       transform: rotate(-45deg);
//     }
//   }
// }
