@media (min-width: 992px) {

  .thomale-moblogo,
  .thomalex-signup-link {
    display: none;
  }

  .rerister-top {
    margin-top: 90px;
  }

  .thomalex-fare-header {
    display: none;
  }
}

@media (max-width: 991px) {
  .thomalex-auth {
    flex-direction: column;
    height: 100vh;
    background: #fff;
  }

  .nav-tabs {
    padding-top: 10px;
    justify-content: flex-start;
  }


  .thomalex-auth-left {
    flex: 100%;
  }

  .rerister-top {
    margin-top: 0;
  }

  .thomalex-auth-right {
    display: none;
  }

  .thomalex-logo {
    display: none;
  }

  .small-box {
    flex: 0 0 50px !important;
  }

  .thomalex-signup-link {
    font-size: 14px;
    color: #1a202c;
    margin-top: 3px;
    text-align: center !important;
    position: relative;
    bottom: -120px;
    margin: 0px auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .thomalex-signup-link a {
    color: #1f7bf4;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
  }

  .thomalex-signup-link a:hover {
    text-decoration: underline;
  }

  .thomale-moblogo img {
    width: 45px;
    margin-bottom: 20px;
  }


  .flight-card-select {
    flex-direction: column;
  }

 
  /* .fare-card-select {
        flex: 0 0 80%;
        min-width: 250px;
      } */

  #scrollLeft,
  #scrollRight {
    display: none;
  }


}


/* @media screen and (max-width: 768px) and (orientation: portrait) {
  .thomalex-auth-right {
    display: none;
  }
 
} */


@media (max-width: 1024px) and (orientation: landscape) {

  .auth-right-content {

    margin-top: -320px;
    margin-left: 3px;
  }

  .small-box {
    flex: 0 0 175px !important;
  }


  .swap-icon-results {
    position: absolute;
    left: 50%;
    top: calc(25% - 15px);

  }

}



/* Flight booking */

@media (max-width: 767px) {
  .thomalex_header {
    height: 40px;
  }
}

@media (max-width: 768px) {

   .flight-left-select {
    flex: 0 0 auto;
    border-right: none;
    border-bottom: 1px solid #eee;

  }

  /* .flight-left-select img {
        height: 160px;
      } */

  .flight-right-select {
    flex-direction: row;
    overflow-x: auto;
  }


  .cabin-section .row {
    flex-direction: column;
  }

  .side-images {
    flex-direction: row;
  }

  .side-images img {
    height: 120px;
  }

  .flight-time {
    font-size: 18px;

  }

  .cabinimg
  {
    display: none;
  }

  .thomalex-flight-time {
    font-size: 14px;

  }

  .price {
    font-size: 1.0rem;
    font-weight: 700;
    color: #000;
  }

  .flight-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
  }

  .thomalex-flight-header {
    display: none;
  }

  .thomalex-flight-container {
    flex-direction: column;
  }

  .thomalex-flight-box {
    border-right: none;
    border-bottom: 1px dashed #d9dbe0;
  }

  .thomalex-fare-header,
  .thomalex-fare-columns {
    flex-wrap: wrap;
  }

  .remove-btn {
    cursor: pointer;
    width: 40px;
  }

  .swap-icon-results {
    position: absolute;
    left: 80%;
    top: calc(40% - 10px) !important;
  }

  .swap-icon-mulity {
    position: absolute;
    left: 85.9% !important;
    margin-top: 77px;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 50%;
    padding: 7px 8px;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .thomalex-form-section {
    flex-direction: column;
  }

  .swap-icon {

    left: 85.9% !important;
    top: calc(50% - 0px);

  }

  .bottom-row {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .filter-bar {
    flex-direction: row;
  }

  .thomalex-calendar-wrapper {
    flex-direction: column;
  }

  .single-calendar {
    width: 100%;
  }

  .calendar-container {
    width: 100%;
  }

  .d-flex.flex-column.flex-md-row {
    flex-direction: column !important;

  }

  .time-window {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 6px;
    font-size: 14px;
  }

  .calendar-header h5 {

    font-size: 12px !important;
  }

  .plus-minus {
    flex-direction: row;
    gap: 4px;
  }

  .plus-minus span {
    line-height: 1;
  }

  .time-window img {
    width: 14px;
    height: 14px;
  }

  .adminname {
    font-size: 12px;
  }

  .admin {
    font-size: 11px;
    padding-top: -15px;
  }

  .divider {

    height: 20px;
    margin: 5px;
  }

  .thomalex-inner-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 25px;
  }

  .thomalex-inner-tabs::-webkit-scrollbar {
    display: none;
  }

  .thomalex-inner-tabs .nav-item {
    flex: 0 0 auto;
  }

  .thomalex-inner-tabs .nav-link {
    white-space: nowrap;
  }

  .button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .add-flight-btn {
    padding: 15px 30px;
    font-size: 16px !important;
    font-weight: 500;
    color: #718096;
    cursor: pointer;
    margin-right: 0px;
    margin-top: 10px;
  }

  .bottom-links span {
    font-size: 12px;
    margin-right: 5px;
    cursor: pointer;
    align-items: center;
    gap: 6px;

  }

  .mobile-scroll-tabs {
    border-bottom: 1px solid #dee2e6;
  }

  .thomalex-flight-booking-box {
    margin-top: 25px;
    padding: 6px 15px;
  }

  .welcome-section {
    margin-top: 20px;
    text-align: left;
  }

  .filter-bar {
    margin-top: 20px !important;
    margin-left: 10px;
    gap: 8px !important;
  }

  .py-5 {
    padding-top: 0rem !important;
    padding-bottom: 3rem !important;
  }

  .languagechange,
  .lang {
    display: none;
  }

  .thomalex-thomalex-styled-input-box {
    width: 100% !important;
  }

  .filter-left {

    gap: 2px !important;
    flex-wrap: wrap !important;
    margin-left: -10px;
  }

  .nav-tabs .nav-link {
    padding: 10px 10px;
/*    margin-left: 14px;*/
  }


  .thomalex-filter-bar {

    padding: 0 0px;

  }

  .thomalex-filter-dropdown,
  .thomalex-airlines-dropdown {

    width: 100%;
    left: 0px;
  }

  .thomalex-bag-selector {

    left: 25px;
    width: 350px;
    margin: 0px auto;

  }

  .thomalex-results-bar {

    width: 100%;
    margin: 0px auto;
  }


}

@media (max-width: 576px) {
  label.fw-semibold {
    flex-direction: column;
    align-items: flex-start;
    font-size: 14px;
  }

  label.fw-semibold .tm-semibold {
    font-size: 14px;
    margin-top: 2px;
  }

}


/* All iPads (portrait + landscape) — more reliable for modern iPadOS */
@media only screen and (min-width: 768px) and (max-width: 1366px) {

  .thomalex-bag-selector {
    left: 105px;

  }

  .thomalex-results-bar {

    width: 100%;
    margin: 0px auto;
  }

  .nav-tabs {
    padding-top: 10px;
    justify-content: center;
  }

  .thomalex-filter-bar {
    margin-left: 60px;
  }

  .swap-icon-results {
    position: absolute;
    left: 80.6%;
    top: calc(31% - 40px) !important;
  }
}


@media (max-width: 1024px) {
    .thomalesroute-text {
        font-size: 14px;
        white-space: normal;
    }

    .thomalesflight-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .thomalesinfo-section {
        /* width: 100%; */
        justify-content: flex-start;
    }

    .thomalesmodify-btn {
        width: 100%;
        text-align: center;
    }
}

/* ======================
   Small Mobile
====================== */
@media (max-width: 576px) {
    .thomalesroute-text {
        font-size: 13px;
    }

    .thomalesback-btn {
        padding: 4px 8px;
        font-size: 13px;
    }

    .thomalesinfo-section {
        gap: 20px;
    }
}