File size: 2,753 Bytes
4879fd8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
:root {
  font-size: 16px;
}

body {
  padding: 2rem;
  font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: white;
}

main {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  min-width: min(0, 100%);
  position: relative;
}

h1,
h2,
h3,
h4 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}

h1 {
  font-size: 1.4rem;
  text-align: center;
}

h4 {
  line-height: 1.3;
  font-weight: 600;
  font-size: 0.8rem;
}

p {
  color: rgb(107, 114, 128);
  margin-bottom: 10px;
  margin-top: 5px;
}

.card {
  max-width: 620px;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow-y: hidden;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
  display: flex;
  flex-direction: inherit;
  flex-wrap: wrap;
  padding: 10px 12px;
  width: 100%;
}

.card p:last-child {
  margin-bottom: 0;
}

form {
  flex-grow: 1;
  min-width: min(160px, 100%);
  margin-bottom: 0;
}

.container {
  display: block;
  width: 100%;
}

form span {
  display: inline-block;
  position: relative;
  font-weight: 400;
  line-height: 1.4;
  color: #6b7280;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

select {
  display: block;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 10px;
  outline: none !important;
  box-shadow: 0 0 0 3px transparent, rgba(0, 0, 0, 0.05) 0px 2px 4px 0px inset;
  background: white;
  color: #1f2937;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
}

textarea {
  display: block;
  width: calc(100% - 20px);
  overflow-y: scroll;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 10px;
  position: relative;
  outline: none !important;
  box-shadow: 0 0 0 3px transparent, rgba(0, 0, 0, 0.05) 0px 2px 4px 0px inset;
  background: white;
  color: #1f2937;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
}

#prompt {
  height: 12rem;
}

#schema {
  height: 20rem;
}

#output {
  height: fit-content;
  width: calc(100% - 20px);
  overflow-y: scroll;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 10px;
  position: relative;
  outline: none !important;
  box-shadow: 0 0 0 3px transparent, rgba(0, 0, 0, 0.05) 0px 2px 4px 0px inset;
  background: white;
  color: #1f2937;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
}

button {
  max-width: 620px;
  color: #ea580c;
  background: linear-gradient(to bottom right, #ffedd5, #fdba74);
  border: 1px solid #fed7aa;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  width: 100%;
}

button:hover {
  border-color: #fed7aa;
  background: linear-gradient(to bottom right, #ffedd5, #fed7aa);
  color: #ea580c;
  cursor: pointer;
}