Spaces:
Paused

File size: 2,815 Bytes
5eb4857
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7864eda
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5eb4857
 
7864eda
5eb4857
 
 
 
 
7864eda
5eb4857
 
 
7864eda
5eb4857
 
 
 
 
 
 
 
 
 
 
 
 
7864eda
5eb4857
 
 
7864eda
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5eb4857
 
 
7864eda
5eb4857
 
 
 
 
 
 
 
 
 
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
.container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 50;
}

.label {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding-left: 2px;
}

.trigger {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.triggerActive {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.trigger:hover {
  border-color: var(--primary-light);
  background: var(--bg-card);
}

.currentValue {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arrow {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.arrowOpen {
  transform: rotate(180deg);
  color: var(--primary);
}

.menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  margin-top: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.searchBox {
  padding: 8px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(248, 250, 252, 0.5);
}

.searchInput {
  width: 100%;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-body);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s;
}

.searchInput:focus {
  border-color: var(--primary);
}

.menuInner {
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 250px;
  overflow-y: auto;
}

.option {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.1s;
}

.option:hover {
  background: var(--bg-hover);
  color: var(--primary);
}

.optionSelected {
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary);
}

.optLabel {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.noResults {
  padding: 16px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.check {
  font-size: 10px;
  color: var(--primary);
  margin-left: 8px;
}

/* Custom scrollbar for menu */
.menuInner::-webkit-scrollbar {
  width: 4px;
}
.menuInner::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 10px;
}