/* Main container */
.domain-search-container {
    display: flex;
    border-radius: 20px;
    border: 2px solid #0E51A0;
    height: 64px;
}

/* Search box wrapper */
.search-box {
    display: flex;
    width: 100%;
    padding: 4px;
    padding-right: 4px;
    padding-left: 16px;
    justify-content: flex-end;
    align-items: center;
    border-radius: 18px;
    background-color: white;
}

/* Input group container */
.input-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 50px;
    width: 100%;
}

/* Icon section */
.icon {
    width: 32px;
    height: 32px;
    aspect-ratio: 1 / 1;
}

.icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Input wrapper */
.input-wrapper {
    display: flex;
    padding-top: 4px;
    padding-bottom: 4px;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.separator {
    width: 2px; /* Increased width for better visibility */
    height: 30px; /* Make separator a bit taller */
    background-color: #A9A9A9;
    border-radius: 1px;
}

/* Input field */
.search-input {
    width: 100%; /* Full width */
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5;
    color: #555;
    padding: 8px;
    outline: none;
    background: transparent;
    box-sizing: border-box;
}

.search-input::placeholder {
    color: #555;
    font-family: "Plus Jakarta Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 21px */
    letter-spacing: -0.5px;
    opacity: 1;
}

/* Button */
.search-button {
    display: flex;
    cursor: pointer;
    height: 54px;
    padding-left: 16px;
    padding-right: 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 16px;
    background-color: #F5F5F7;
    color: black;
    transition: background-color 0.3s ease;
}

.button-icon {
    width: 24px;
    height: 24px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.search-button-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: -0.342px;
    color: black;
    display: flex;
    align-items: center;
    height: 24px;
}

.search-button svg {
    display: block;
    vertical-align: middle;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .search-button {
        display: none;
    }

    .search-input::placeholder {
        font-size: 14px;
        line-height: 150%; /* 21px */
        letter-spacing: -0.5px;
    }
} 


#popularDestinationsSection {
    display: none;
    height: 100%;
    padding-left: 160px;
    padding-right: 160px;
    padding-top:32px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
}
.popular-header {
    width: 1080px;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    display: inline-flex;
}
.popular-header-icon {
    width: 24px;
    height: 24px;
    position: relative;
    overflow: hidden;
}
.popular-header-title {
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: #0E51A0;
    font-size: 16px;
    font-family: Onest, sans-serif;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
}
.popular-list-wrapper {
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: flex;
    margin-bottom: 10rem;

}
.popular-list {
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: flex;
}
.popular-card {
    align-self: stretch;
    height: 64px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 4px;
    padding-bottom: 4px;
    box-shadow: 0px 0px 100px rgba(255, 255, 255, 0.48);
    overflow: hidden;
    border-bottom: 1px #DDDDDD solid;
    justify-content: space-between;
    align-items: center;
    display: inline-flex;
    background: #fff;
    cursor: pointer;
}
.popular-card:hover {
    background: rgba(14, 81, 160, 0.05);
    border-bottom: 1px #0E51A0 solid;

}

.popular-card-left {
    align-self: stretch;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    display: flex;
}
.popular-card-img {
    width: 26px;
    height: 26px;
    border-radius: 64px;
    border: 1px white solid;
}
.popular-card-country {
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: black;
    font-size: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
}
.popular-card-right {
    justify-content: center;
    align-items: center;
    gap: 4px;
    display: flex;
}
.popular-card-time {
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: #0F2138;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    line-height: 16.8px;
    word-wrap: break-word;
}
.popular-card-arrow {
    width: 24px;
    height: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
#popularDestinationsSection.fixed-active {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 2000;
    margin: 0 auto;
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow-y: auto;
}


@media (max-width: 1200px) {
    #popularDestinationsSection,
    #popularDestinationsSection.fixed-active {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (max-width: 900px) {
    #popularDestinationsSection,
    #popularDestinationsSection.fixed-active {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 700px) {
    #popularDestinationsSection,
    #popularDestinationsSection.fixed-active {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 500px) {
    #popularDestinationsSection,
    #popularDestinationsSection.fixed-active {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Loading arrow animation */
.arrow-container {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    z-index: 5000;
}
.arrow {
    transform: rotate(90deg);
}
.arrow span {
    display: block;
    width: 15px;
    height: 15px;
    border-bottom: 5px solid red;
    border-right: 5px solid red;
    transform: rotate(45deg);
    margin: -15px;
    animation: animate28797 2s infinite;
}
.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}
.arrow span:nth-child(3) {
    animation-delay: -0.4s;
}
@keyframes animate28797 {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}
