/* ============================================================
   Triprex Search Tours & Search Hotels Widget
   ============================================================ */

/* Wrapper */
.triprex-search-widget {
    position: relative;
    width: 100%;
}

/* Search bar row */
.triprex-search-wrap {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.10);
    cursor: pointer;
}

.triprex-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 20px;
    font-size: 15px;
    background: transparent;
    cursor: pointer;
    color: #333;
}

.triprex-search-btn {
    flex-shrink: 0;
    padding: 14px 28px;
    background: #F56E28;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background .25s;
    white-space: nowrap;
}
.triprex-search-btn:hover { background: #d9551a; }

/* ── Style Two: pill shape ── */
.triprex-search-widget.style-two .triprex-search-wrap {
    border-radius: 50px;
}
.triprex-search-widget.style-two .triprex-search-btn {
    border-radius: 0 50px 50px 0;
}

/* Dropdown */
.triprex-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.14);
    z-index: 9999;
    overflow: hidden;
}

.triprex-search-dropdown.triprex-drop-open {
    display: block;
    animation: triprexFadeDown .2s ease;
}

@keyframes triprexFadeDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Dropdown heading */
.triprex-drop-label {
    padding: 14px 18px 8px;
    font-size: 14px;
    font-weight: 700;
    color: #F56E28;
    letter-spacing: .3px;
    border-bottom: 1px solid #f0f0f0;
}

/* Destination list */
.triprex-dest-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    max-height: 320px;
    overflow-y: auto;
}

/* Scrollbar styling */
.triprex-dest-list::-webkit-scrollbar { width: 4px; }
.triprex-dest-list::-webkit-scrollbar-track { background: #f9f9f9; }
.triprex-dest-list::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

/* Destination item */
.triprex-dest-item { display: block; }

.triprex-dest-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    text-decoration: none;
    transition: background .18s;
}
.triprex-dest-item:hover a { background: #fff5f0; }

.triprex-dest-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.triprex-thumb-placeholder {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eee;
    flex-shrink: 0;
}

.triprex-dest-item a span {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

/* Hidden (filtered out by live search) */
.triprex-dest-item.triprex-dest-hidden { display: none; }

/* No results */
.triprex-no-results a,
.triprex-no-results { padding: 14px 18px; color: #999; font-size: 14px; }
