* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.search-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-locations {
    width: 50%;
    height: 100%;
    border-radius: 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 2rem;

}

.search-locations-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    width: 50%;
}

.search-locations-container input {
    border: none;
    text-align: center;
    color: #717171;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 19.6px;
    background: none;
}

.search-locations-container input:focus {
    outline: none; /* Remove the blue outline on focus */
}

.location-break {
    height: 80%;
    transform: rotate(15deg);
    stroke-width: 1px;
    stroke: #CDCDCD;
}

.search-locations-container label {
    color: #05073C;
    font-family: Poppins;
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

*{
    margin: 0;
    padding: 0;
}



.search-container {
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-bar {
    width: 60rem;
    height: auto;
    padding: 1rem;
    border-radius: 200px;
    background: #FFF;
    box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.05);
    margin-top: -5rem;
    z-index: 2;
}

.search-locations img {
    width: 3.3rem;
    margin-left: 1rem;
}

.search-dates {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 2rem;
    gap: 1rem;
}

.search-dates-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;  

}

.trip-dates label {
    font-family: Poppins;
    color: #05073C;
    font-size: 17px;
}



.search-dates img {
    width: 3.3rem;
}

.trip-dates {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

input[type="date"]:hover {
    background-color: #fff;
    color: #05A351;
    transition: 0.2s ease-in;
    box-shadow: 0 0 5px rgba(0, 255, 47, 0.5);

}

input[type="date"] {
    border: none;
    color: white;
    height: auto;
    padding: 0.5rem;
    font-family: Poppins;
    font-size: 0.6rem;
    border-radius: 200px;
    background-color: #05A351;
}

input[type="date"]:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 255, 47, 0.5);
}


.mainSearchBtn {
    width: 100%;
    cursor: pointer;
    height: 100%;
    border-radius: 50%;
    background-color: #05A351;
    border: none;
    color: white;
}

.mainSearchBtn-container {
    width: 4rem;
    height: 3rem;
    margin-right: 0.5rem;

}






/* suggetions  */


/* Style the autocomplete suggestions */
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* Prevent horizontal scrollbar */
    overflow-x: hidden;
    z-index: 1000;
}

/* Style for the state items */
.ui-autocomplete li {
    padding: 5px;
    cursor: pointer;
    position: relative; /* Ensure cities list is positioned correctly */
}

.city-list {
    margin-top: 0;
    padding-left: 0;
    background-color: rgba(0, 0, 0, 0.8); /* Dark background to make it stand out */
    color: white; /* White text to ensure readability */
    border: 1px solid #ccc;
    position: absolute;
    left: 100%;
    top: 0;
    white-space: nowrap;
    z-index: 1001;
    display: block;
}
/* Style for the individual city items */
.city-list li {
    list-style: none;
    padding: 5px;
    white-space: nowrap;
}


@media ( max-width: 1345px ) {
    .search-bar {
        width: 55rem;

    }

    .search-locations {
        width: 43%;

    }

    .cards-container {
        width: 53vw;
    }
}



@media (max-width: 1035px) {
    .search-bar {
      width: 40rem;
    }

    .search-locations-container label {
        font-size: 14px;
    }
    .trip-dates label {
        font-size: 14px;
    }
    .search-locations img {
        width: 2.3rem;
    }
    .search-locations {
        width: 41%;
      }
      .search-dates img {
        width: 2.3rem;
      }
      .search-dates {
        margin-left: 0.7rem;
      }
      input[type="date"] {
        font-size: 0.45rem;
      }
      .mainSearchBtn-container {
        width: 3rem;
        height: 3rem;
        margin-right: 0rem;
      }
  }


  @media(max-width:650px) {
    .search-bar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0rem;
        position: relative;
        width: 95%;
        
        border-radius: 15px;
    }
    .mainSearchBtn-container {
        position: absolute;
        right: 5px;
    }
    .search-locations {
        margin: 0;
        width: 80%;
        border-bottom: 0px solid black;
        border-radius: 0;
        padding-bottom: 1rem;
        margin-left: -4rem;
        gap: 3px;

    }
    .search-dates {
        margin: 0;
        width: 80%;
        margin-left: -4rem;
        gap: 8px;
    }

    .search-locations-container , .trip-dates{
        background-color: #F5F5F5;
        border-radius: 10px;
    }

    .trip-dates{
        gap: 0;
        padding: 3px 10px;
        width: 50%;
    }
    .trip-dates label{
        font-weight: 500;
    }
    input[type="date"]{
        background: none;
        color: black;
    }
    .search-dates-container {
        width: 100%;
        justify-content: flex-start;
        gap: 3px;
        margin-left: -2.5px;
      }
    .search-locations img {
        margin: 0;
    }

    .mainSearchBtn{
        width: 2rem;
        height: 2rem;
    }
  }


  @media(max-width:650px) {
    .search-locations-container label , .trip-dates label{
        font-size: 12px;

    }
    .search-locations-container input {
        font-size: 9.5px;
    }

    .mainSearchBtn-container {
        width: 3.8rem;
        height: 3rem;
        background-color: #F5F5F5;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        right: 10px;
        top: 5rem;
      }

      input[type="date"] {
        font-size: 0.45rem;
        
      }

      .bottom-container{
        display: none;
      }

      .search-locations-container input:focus header{
        height: 18vh;
      }
  }


  @media(max-width:385px){
    .search-locations-container label, .trip-dates label {
        font-size: 9px;
      }

      input[type="date"] {
        font-size: 6px;
      }
  }


