/* Flootloop Mobile Country Search
   Visibility is handled entirely by Elementor Responsive settings.
   This CSS only handles styling, not show/hide. */

#flootloop-mobile-search {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.fls-inner {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 4px;
    box-sizing: border-box;
}

/* ── Input wrapper ── */
.fls-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.fls-input-wrap:focus-within {
    border-color: #c9a96e;
}

.fls-icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    color: #666;
    pointer-events: none;
    flex-shrink: 0;
}

.fls-input {
    width: 100%;
    padding: 15px 44px 15px 44px;
    background: transparent;
    border: none;
    outline: none;
    color: #e8e0d0;
    font-size: 16px; /* 16px prevents iOS zoom on focus */
    font-family: inherit;
    letter-spacing: 0.01em;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.fls-input::placeholder {
    color: #555;
    font-style: italic;
}

.fls-clear {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #555;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
    transition: color 0.15s;
}

.fls-clear:hover {
    color: #c9a96e;
}

/* ── Results dropdown ── */
.fls-results {
    margin-top: 4px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    overflow: hidden;
    max-height: 320px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.fls-results:empty {
    display: none;
}

/* Result item */
.fls-item {
    display: block;
    width: 100%;
    padding: 14px 18px;
    background: none;
    border: none;
    border-bottom: 1px solid #222;
    color: #e8e0d0;
    font-size: 15px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

.fls-item:last-child {
    border-bottom: none;
}

.fls-item:active,
.fls-item:hover {
    background: #252525;
}

.fls-item mark {
    background: none;
    color: #c9a96e;
    font-weight: 600;
}

/* Coming soon state */
.fls-item.fls-coming-soon {
    color: #555;
    cursor: default;
    pointer-events: none;
}

.fls-item.fls-coming-soon .fls-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 7px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 20px;
    font-size: 11px;
    color: #666;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
}

/* No results message */
.fls-no-results {
    padding: 16px 18px;
    color: #555;
    font-size: 14px;
    font-style: italic;
    text-align: center;
}

/* Loading state */
.fls-loading {
    padding: 16px 18px;
    color: #555;
    font-size: 14px;
    text-align: center;
}

/* Scrollbar styling */
.fls-results::-webkit-scrollbar {
    width: 4px;
}
.fls-results::-webkit-scrollbar-track {
    background: #1a1a1a;
}
.fls-results::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 2px;
}
