/* TOP SEARCH */
.top-search {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: white;
    position: sticky;
    top: 0;
    margin-top: 10px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.search-btn {
    position: unset;
    transform: translateX(0%);
    height: 40px;
    margin-top: -2px;
}
.top-search input, .top-search select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.top-search button {
    background: #008cff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}

/* .field input {
    padding: 12px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 14px;
} */
.field {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.city-field {
    position: relative; /* important */
}
.dropdown-title {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    /* padding: 8px 15px; */
    background: #f9f9f9;
    padding: 10px 15px 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.guest-field {
    position: relative;
}

.guest-popup {
    position: absolute;
    top: 110%;
    left: 0;
    width: 280px;

    background: #fff;
    border-radius: 15px;
    padding: 15px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    display: none;
    z-index: 9999;
}

.guest-popup.active {
    display: block;
}


.city-field {
    position: relative; /* important */
}
.dropdown-title {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    /* padding: 8px 15px; */
    background: #f9f9f9;
    padding: 10px 15px 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.city-item i {
    width: 18px;
    text-align: center;
    color: #ff7a18;
}
/* Dropdown container */
.city-dropdown {
    position: absolute;
    top: 100%; /* input ke just niche */
    left: 0;
    width: 100%;
    
    background: #fff;
    border-radius: 12px;
    margin-top: 8px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-height: 250px;
    overflow-y: auto;

    z-index: 9999;
    max-height: 250px;
    overflow-y: auto;

    display: none; /* default hidden */
}

/* Show dropdown */
.city-dropdown.active {
    display: block;
}
.guest-field {
    position: relative;
}



/* Each item */
.city-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 15px;
    cursor: pointer;

    /* transition: 0.2s; */
    transition: all 0.2s ease;
}

/* Icon */
.city-item i {
    color: #ff7a18;
    font-size: 14px;
}

/* Text */
.city-item span {
    font-size: 14px;
    color: #333;
}

/* Hover effect */
.city-item:hover {
    background: #f5f5f5;
    transform: translateX(3px);
}

/* Scrollbar (premium feel 😎) */
.city-dropdown::-webkit-scrollbar {
    width: 5px;
}
.city-dropdown::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.guest-popup {
    width: 280px;
}
 /* Guest Row */
.guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

/* Label */
.guest-label {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* Counter Box - Minimal Premium */
.premium-counter {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 6px 14px;
    border-radius: 30px;

    background: #fff; /* simple clean */

    border: 1px solid #e0e0e0; /* thin premium border */

    transition: all 0.25s ease;
}

/* Hover (very subtle, premium feel) */
.premium-counter:hover {
    border-color: #ff7a18;
}

/* + - buttons */
.counter-action {
    width: 21px;
    height: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 16px;
    font-weight: 600;

    color: #ff7a18;
    background: transparent;

    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover */
.counter-action:hover {
    background: #fff3ec;
}

/* Click feel */
.counter-action:active {
    transform: scale(0.92);
}

/* COUNT VALUE */
.counter-value {
    min-width: 20px;
    text-align: center;

    font-size: 14px;
    font-weight: 600;
    color: #333;

    cursor: default;   /* pointer removed ✅ */
    user-select: none;
}

/* Counter Box */
/* .premium-counter {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 6px 12px;
    border-radius: 30px;

    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.08),
                inset -2px -2px 5px rgba(255,255,255,0.9);

    transition: all 0.3s ease;
}

/* Hover effect */
.premium-counter:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* + - buttons */


/* COUNT VALUE (IMPORTANT PART 🔥) */
.counter-value {
    min-width: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;

    cursor: default;   /* ✅ pointer hat gaya */
    user-select: none; /* text select bhi nahi hoga */
} */

.setup-counter {
    border: #000;
    padding: 2px 14px;
    background: whitesmoke;
    border-radius: 25px;
    cursor: pointer;
}

.counter button {
    width: 30px;
    height: 30px;
    border: none;
    background: #eee;
    border-radius: 50%;
    cursor: pointer;
}

.apply-btn {
    width: 100%;
    padding: 10px;
    background: #ff7a18;
    color: #fff;
    border: none;
    border-radius: 10px;
    margin-top: 10px;
}

.popup-common {
    position: absolute;
    top: 110%;
    left: 0;
    width: 100%;

    background: #fff;
    border-radius: 12px;
    margin-top: 8px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.2);

    opacity: 0;
    transform: translateY(10px) scale(0.98);
    pointer-events: none;

    transition: all 0.25s ease;
    z-index: 9999;
}

.popup-common.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.flatpickr-calendar {
    animation: fadeInUp 0.25s ease;
}

/* Title */
.child-age-title {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    margin: 10px 0 5px;
}

/* Each row */
.child-age-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

/* Label */
.child-age-item span {
    font-size: 14px;
    color: #333;
}

/* Select Dropdown */
.child-age-select {
    padding: 6px 10px;
    border-radius: 8px;

    border: 1px solid #e0e0e0;
    background: #fff;

    font-size: 13px;
    color: #333;

    outline: none;
    cursor: pointer;

    transition: all 0.2s ease;
}

/* Hover */
.child-age-select:hover {
    border-color: #ff7a18;
}

/* Focus */
.child-age-select:focus {
    border-color: #ff7a18;
}

/* Remove ugly default arrow (optional premium) */
.child-age-select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23ff7a18' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
    padding-right: 28px;
}

#childAges {
    margin-bottom: 8px;
}


/* TEXT hidden initially */
.search-btn .btn-text {
    opacity: 0;
    white-space: nowrap;
    font-weight: 500;
    transition: 0.3s;
}

/* ✅ Active state (expand) */
.search-btn.active {
    width: 220px;
    border-radius: 50px;
    padding: 0 20px;
}
/* Show text */
.search-btn.active .btn-text {
    opacity: 1;
}
.search-btn.active {
    animation: pulseGlow 1.5s infinite;
}
/* .hidden {
    display: none;
} */

