File size: 6,138 Bytes
0dd2082
 
 
 
 
 
 
 
 
 
 
 
 
 
 
221ee46
 
 
 
0dd2082
221ee46
 
 
 
 
 
0dd2082
221ee46
 
 
 
 
 
 
 
 
 
 
 
 
 
0dd2082
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
.searchbar-container {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
}

.searchbar {
    display: flex;
    gap: 0.75rem;
    position: relative;
    z-index: 10;
    /* Ensure searchbar is above siblings like location-active-plate */
}

.searchbar-hints {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 0.6rem;
    padding: 0 0.25rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.location-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.easter-egg-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.9;
}

.easter-egg-hint span {
    color: var(--accent-secondary);
    font-weight: 600;
    font-style: normal;
}

.location-hint .mono {
    font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-size: 0.78rem;
}

.searchbar-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.location-active-plate {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    margin-top: 0.75rem;
    margin-left: 1rem;
    padding: 0.4rem 0.8rem;
    background: rgba(238, 105, 131, 0.1);
    border: 1px solid rgba(238, 105, 131, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    animation: fadeIn 0.2s ease-out;
}

.active-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-color);
}

.clear-location-text {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-left: 0.25rem;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 0.2s ease;
    padding: 0;
}

.clear-location-text:hover {
    color: #ff7675;
    text-decoration-color: #ff7675;
}



.location-btn {
    position: absolute;
    left: 10px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 2;
}

.location-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.location-btn.active {
    color: var(--primary-color);
}

.location-btn:not(.active):not(.error):not(:disabled) {
    animation: pulse-hint 3s infinite;
}

@keyframes pulse-hint {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.15);
        filter: brightness(1.3);
        color: var(--accent-primary);
    }

    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

.location-btn.error {
    color: #ff7675;
}

.location-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Consolidated search input styling */
.searchbar-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    background: var(--bg-input);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.searchbar-input::placeholder {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.searchbar-input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(238, 105, 131, 0.15);
}

.searchbar-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--accent-gradient);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.searchbar-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--accent-glow);
}

.searchbar-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.searchbar-spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.searchbar-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #850E35;
    /* Opaque background to prevent overlap bleed-through */
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    list-style: none;
    z-index: 9999;
    overflow: hidden;
    animation: fadeInUp 150ms ease;
    backdrop-filter: blur(10px);
}

.searchbar-suggestion {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    cursor: pointer;
    transition: background var(--transition-fast);
    font-size: 0.85rem;
}

.searchbar-suggestion:hover,
.searchbar-suggestion.active {
    background: rgba(238, 105, 131, 0.1);
}

.suggestion-type-icon {
    font-size: 0.8rem;
    flex-shrink: 0;
}

.suggestion-text {
    flex: 1;
    color: var(--text-primary);
}

.suggestion-cat {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    background: rgba(238, 105, 131, 0.12);
    color: var(--accent-secondary);
}

.searchbar-suggestion.is-history {
    color: var(--text-secondary);
}

.searchbar-suggestion.is-history svg {
    color: var(--text-muted);
}


.suggestion-tag {
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    margin-left: 0.5rem;
}

@media (max-width: 600px) {
    .searchbar {
        flex-direction: column;
    }

    .searchbar-btn {
        justify-content: center;
    }
}