File size: 3,051 Bytes
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
.history-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.history-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.history-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.history-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.history-clear-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    background: rgba(214, 48, 49, 0.1);
    border: 1px solid rgba(214, 48, 49, 0.2);
    border-radius: var(--radius-sm);
    color: #e17055;
    font-size: 0.78rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.history-clear-btn:hover {
    background: rgba(214, 48, 49, 0.2);
}

.history-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}

.history-empty svg {
    margin-bottom: 1rem;
    opacity: 0.3;
}

.history-empty p {
    font-size: 1rem;
    font-weight: 500;
}

.history-empty-sub {
    font-size: 0.82rem !important;
    font-weight: 400 !important;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.history-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(238, 105, 131, 0.15);
}

.history-item-main {
    flex: 1;
    min-width: 0;
}

.history-item-query {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-item-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

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

.history-item-results,
.history-item-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.history-item-time::before {
    content: '·';
    margin-right: 0.4rem;
}

.history-item-actions {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.history-rerun-btn,
.history-remove-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.history-rerun-btn:hover {
    background: rgba(238, 105, 131, 0.15);
    color: var(--accent-secondary);
}

.history-remove-btn:hover {
    background: rgba(214, 48, 49, 0.15);
    color: #e17055;
}