.search {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  /* padding: 8px 10px; */
  width: 100%;
  max-width: 900px; 
  margin: 30px auto;
  position: relative;
  transition: box-shadow .3s;
}
.search:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.15); }

.search-section {
  flex: 1;
  padding: 5px 32px; 
  /* border-right: 1px solid #eee; */
  position: relative;
  cursor: pointer;
}
/* .search-section:last-child { border-right: none; } */
.dir.atm_26_1guaqub {
  background: #DDDDDD;
}
.atm_wq_1m4mje8 {
  z-index: 1;
}
.atm_e2_1vi7ecw {
  height: 32px;
}
.atm_vy_t94yts {
  width: 1px;
}

/*  */
.atm_dz_1pfszjl.atm_dz_1pfszjl {
    grid-template-columns: minmax(0, 2fr) 1px minmax(0, 1fr) minmax(0, 0fr) minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 2fr);
}
.atm_h_1h6ojuz.atm_h_1h6ojuz {
    align-items: center;
}
.atm_cx_yh40bf {
    gap: 2px;
}
.atm_vy_1osqo2v {
    width: 100%;
}
.atm_9s_11p5wf0 {
    display: grid
;
}

.serch-main{
  /* display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center; */
}

.search-section label {
  /* font-size: 0.75rem; */
  font-size: 1rem;
  font-weight: 500;
  color: black;
  margin:0;
  line-height: 1rem;
  padding-bottom: 2px;
  font-family: "Airbnb Cereal", "Circular", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;

}
.search-section span {
  display:block;
  font-size:0.875rem;
  font-weight: 400;
  color: #6a6a6a;
 }
 

.search-btn {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 3px;
  width: 48px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin: 10px; */
  transition: all 0.3s ease;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  background-color: #615f5f;
}

input.form-control.flatpickr-start.input{
    padding: 0px;
    height: 20px;
}

input.form-control.flatpickr-end.input{
    padding: 0px;
    height: 20px;
}
.search-btn.expanded {
  width: 120px;
  padding: 0 18px;
  justify-content: center;
}

.search-btn span.text {
  display: none;
  margin-left: 8px;
  color: white;
}

.search-btn.expanded span.text {
  display: inline;
}

span.glyphicon.glyphicon-search{
    color: black;
}
.search-section.active {
  /* box-shadow: 0 0 0 2px #ff385c; */
  border-radius: 10px;
  background: #ffff;
  padding: 15px 24px;
  margin: 3px;
}

.search-section.is_default{
  background-color: #c1c1c1;
  padding: 15px 24px;
  border-radius: 10px;
}

.search.is_default{
  background-color: #c1c1c1;
  
}

.search-section span {
  display:block;
  font-size:14px;
  color: #555;
}

.search-section input {
  width: 89%;
  border: none;
  outline: none;
  font-size: 14px !important;
  height: 16px;
}

.search-section:hover{
    background-color: #dddddd;
    border-radius: 10px;
}
.ln_ct.before-active {
  background: #c1c1c1;
}

.ln_ct.after-active {
  background: #c1c1c1;
}

/* popup panels */
.search-popup {
  display:none; 
  position:absolute;
  top:77px; 
  left:-7rem;
  right:0;
  background:#fff;
  border-radius:20px;
  box-shadow:0 4px 20px rgba(0,0,0,0.1);
  padding:20px;
  z-index:999;
  width: 132% !important;
}

/* Guest popup styling */
.guest-control {
  display:flex; 
  justify-content:space-between; 
  align-items:center;
  padding:15px 0;
  border-bottom:1px solid #eee;
}
.litepicker{
  font-size: 16px !important;
  font-weight: 600 !important;
  top: 84px !important;
  left: 31% !important;
  position: fixed !important;
  top: 165px !important; 
  left: 50% !important;
  transform: translateX(-50%);
  z-index: 10000;
}
.guest-control:last-child { border-bottom:none; }
.guest-title 
{ 
    font-weight:600;
    font-size: 16px; 
    color:#333;
}
.guest-sub {
     font-size: 0.875rem; 
     color:#777; }
.guest-sub a 
{  color:rgb(106, 106, 106); 
   text-decoration: underline !important;
   cursor: pointer !important;
}

.guest-counter button {
  width:32px; height:32px; border:1px solid #ccc; border-radius:50%;
  background:#fff; font-weight:bold; line-height:1;
}
.guest-counter span {
  margin:0 10px; min-width:20px; display:inline-block; text-align:center;
}

.where-search-popup {
  display: none;
  position: absolute;
  top: 78px;    
  left: 0;
  width: 400px;
  /* max-height: 300px; */
  /* overflow-y: auto; */
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 15px;
  z-index: 999;
  /* min-height: 400px; */
}
.where-search-popup .destination-list img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  margin-right: 14px;
  flex-shrink: 0;
}
.where-search-popup .dest-name {
  font-weight: 500;
  color: #222;
  font-size: 14px;
}
.where-search-popup .dest-sub {
  font-size: 12px;
  color: #7a7a7a;
}
.where-search-popup .destination-list li:hover {
  background: #f6f8fa;
}
.where-search-popup .popup-scroll {
  max-height: 360px;
  overflow-y: auto;
  padding-right: 6px; 
}

.where-search-popup .popup-scroll::-webkit-scrollbar {
  width: 10px;
}
.where-search-popup .popup-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 6px;
}
.where-search-popup .popup-scroll::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 6px;
}
.where-search-popup .popup-scroll::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.event-search-popup{
  display: none;
  position: absolute;
  top: 58px;    
  left: 0;
  width: 300px;
  /* max-height: 300px; */
  /* overflow-y: auto; */
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 5px;
  z-index: 999;
  /* min-height: 400px; */
}

.event-search-popup ul{
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0;
}
.event-search-popup ul li{
  padding: 5px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.event-list li {
  font-weight: 500;
  color: #222;
  font-size: 14px;  
}
.event-search-popup ul li:hover {
  background: #f7f7f7;
}
.mobile-event-popup ul{
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0;
}

.mobile-event-popup ul li {
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  padding: 8px;
  border-bottom: 1px solid #f1f1f1;
}

.event-search-popup ul li span{
  font-size: 0.875rem;
  color: #6A6A6A;
  line-height: 1.300rem;
  box-sizing: border-box;
}
.where-search-popup .popup-scroll {
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 #f1f1f1;
}
.destination-list {
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0;
}

.destination-list li {
  display: flex;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.destination-list li:hover {
  background: #f7f7f7;
}

.destination-list img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  margin-right: 10px;
}

.destination-list span{
    /* display:block; */
  font-size: 0.875rem;
  color: #6A6A6A;
  line-height: 1.300rem;
  box-sizing: border-box;
}
.dest-name {
  /* font-size: 0.875rem; */
  color: #6A6A6A;
  line-height: 1.300rem;
  box-sizing: border-box;
}

.dest-sub {
  font-size: 12px;
  color: #777;
}

.popup-scroll {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
}
@media (min-width: 768px) {
  .mobile-search-bar,
  .mobile-search-modal {
    display: none !important;
  }
}

/* Mobile modal: make only the inner content scrollable and prevent page background scroll */
@media (max-width: 767px) {

  .search { display: none; } /* hide desktop search */

  /* Floating bar */
  .mobile-search-bar {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 50px;
    margin: 12px auto;
    width: 94%;
    cursor: pointer;
  }

  .mobile-search-inner {
    display: flex;
    align-items: center;
    padding: 12px 16px;
  }

  .mobile-search-inner .search-icon {
    background: #fff;
    color: #000;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
  }

  .search-summary .search-main {
    font-weight: 600;
    font-size: 1rem;
    color: #000;
  }

  .search-summary .search-sub {
    font-size: 0.85rem;
    color: #6a6a6a;
  }

  /* Full-screen modal */
  .mobile-search-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9999;
    /* overflow-y: auto; */
    animation: slideUp 0.3s ease;
    padding-bottom: 100px;
  }

  @keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  .mobile-header {
    display: flex;
    align-items: center;
    justify-content:end;
    padding: 16px 25px;
    border-bottom: 1px solid #eee;
  }

  .mobile-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
  }

  .close-btn {
    background: none;
    border: none;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #00000014;
    padding: 5px;
    width: 50px;
    border-width: 1px;
    box-shadow: 0 0 0 1px transparent, 0 0 0 4px transparent, 0 2px 4px rgba(0, 0, 0, 0.18);
  }

  .atm_70_1c1o528 {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.03);
  }

  .bg-white{
    background-color: #ffff;
  }

  .mobile-search-modal{
    background-color: #F7F7F7;
  }

  .atm_70_k4nr80 {
    box-shadow: 0 0 0 1px rgb(0 0 0 / 4%), 0 6px 20px rgb(0 0 0 / 20%);
  }

  .mobile-section {
    padding: 20px 16px;
    border-bottom: 1px solid #eee;
    border-radius: 10px;
    margin: 10px;
    box-sizing: border-box;
    width: 92%;
  }

  .mobile-section label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: #000;
    font-size: 22px;
  }

  .mobile-section input {
    width: 100%;
    font-size: 1rem;
    border-radius: 12px;
  }
  .serch_fscreen{
    border: 1px solid #000;
    border-radius: 12px;
    display: flex;
  }

  .dir.atm_l8_1lzldkb {
    padding: 2px 24px calc(env(safe-area-inset-bottom) + 12px);
}
.atm_fc_1yb4nlp.atm_fc_1yb4nlp {
    justify-content: space-between;
}
.atm_9s_1txwivl {
    display: flex
;
}

  .mobile-destination-list {
    margin-top: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .show-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    font-weight: 600;
    color: gray;
    cursor: pointer;
 }
  .mobile-destination-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
  }
  .when-lable{
    font-size: 1rem;
    font-weight: 500;
    color: black;
    margin:0;
    line-height: 1rem;
    padding-bottom: 2px;
    font-family: "Airbnb Cereal", "Circular", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;

  }

  .mobile-lable{
    font-size: 1rem;
    font-weight: 500;
    font-family: "Airbnb Cereal", "Circular", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    color: #6a6a6a;
  }

  .mobile-search-btn {
    transform: translateX(-50%);
    background: #fff;
    color: black;
    border: none;
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);  
    margin-right: -4.5rem;  
  }
  .mobile-guest-popup {
  margin-top: 15px;
  /* padding-top: 10px; */
  border-radius: 32px;
  padding: 10px;
  animation: slideDown 0.3s ease;
}

  /* The main inner container (content area) should scroll while the backdrop stays fixed */
  .mobile-search-modal .atm_l0_15vqwwr.atm_p9_glywfm {
    overflow-x: hidden;
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch;
    max-height: calc(100vh - 140px); /* leave space for header and footer */
    padding-bottom: 40px; /* give some breathing room for footer */
  }

  /* Allow visible scrollbars in modal content on desktop-like devices */
  .mobile-search-modal .atm_l0_15vqwwr.atm_p9_glywfm::-webkit-scrollbar {
    width: 10px;
  }
  .mobile-search-modal .atm_l0_15vqwwr.atm_p9_glywfm::-webkit-scrollbar-thumb {
    background: #c1c1c1; border-radius: 6px;
  }

  /* When modal is open, prevent body scrolling */
  body.mobile-search-open {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
  }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-guest-popup .guest-control {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f1f1f1;
}

.mobile-guest-popup .guest-control:last-child {
  border-bottom: none;
}

  /* Fullscreen Where panel (hidden by default) */
  .mobile-where-fullscreen {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 20000;
    display: none;
    padding-top: 18px;
    -webkit-overflow-scrolling: touch;
    border-radius: 15px;
    margin-top: 15px;
  }

  .mobile-where-fullscreen .where-header {
    display:flex; align-items:center; gap:12px; padding: 12px 16px;
    border-bottom:1px solid #eee;
  }

  .mobile-where-fullscreen .where-header .back-btn {
    font-size: 20px;
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    cursor:pointer;
    color: black;
  }

  .mobile-where-fullscreen .where-body {
    padding: 12px 16px;
    overflow-y:auto;
    height: calc(100vh - 120px);
  }

.mobile-guest-popup .guest-title {
  font-weight: 600;
  color: #000;
}

.mobile-guest-popup .guest-counter button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ccc;
  font-size: 18px;
  line-height: 1;
}

.mobile-guest-popup .guest-counter span {
  display: inline-block;
  width: 25px;
  text-align: center;
  font-weight: 600;
}

 .litepicker {
    /* position: fixed !important;
    top: 165px !important; 
    left: 50% !important;
    transform: translateX(-50%);
    z-index: 10000; */
    width: 95vw !important;             
    max-width: 420px !important;       
    left: 50% !important;
    transform: translateX(-50%);
    max-height: 80vh !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  }
  .container__months{
    width: 100% !important;
    margin-bottom: 10px;
  }
  .month-item{
    width: 100% !important;
    margin-bottom: 5px;
  }
  .month-item-name{
    font-size: 22px !important;
    font-weight: 600 !important;
  }
  .month-item-year{
    font-size: 20px !important;
  }

  .container__days {
    width: 87%;
    display: grid !important;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px; /* spacing between days */
    margin-bottom: 10px;
}

/* Weekday row */
.month-item-weekdays-row {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 5px;
    color: #666;
    gap: 10px !important;
}

/* Individual day */
.container__days .day {
    height: 40px; /* uniform day height */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}
  .mobile-destination-list {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
  }

  .mobile-destination-list li {
    display: flex;
    align-items: center;  
    padding: 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
  }

  .mobile-destination-list li:hover {
    background: #f7f7f7;
  }

  .mobile-destination-list img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 10px;
  }

  .mobile-destination-list span{
    display:block;
    font-size: 0.875rem;
    color: #6A6A6A;
    line-height: 1.300rem;
    box-sizing: border-box;
  }
  .mobile-dest-name {
    /* font-size: 0.875rem; */
    color: #6A6A6A;
    line-height: 1.300rem;
    box-sizing: border-box;
  }

  .mobile-dest-sub {
    font-size: 12px;
    color: #777;
  }
  
  .clr_btn{
    background: none;
    color: black;
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
  }
}


