@@ -61,14 +61,14 @@ export const spinner = style({
6161
6262export const header = style ( {
6363 position : 'relative' ,
64- marginBottom : themeVars . spacing . md
64+ marginBottom : themeVars . spacing . sm
6565} )
6666
6767export const title = style ( {
68- fontSize : '1.125rem ' ,
68+ fontSize : '1rem ' ,
6969 fontWeight : 600 ,
7070 color : themeVars . colors . foreground ,
71- marginBottom : themeVars . spacing . xs
71+ marginBottom : '0.25rem'
7272} )
7373
7474export const description = style ( {
@@ -95,21 +95,21 @@ export const closeButton = style({
9595export const body = style ( {
9696 display : 'flex' ,
9797 flexDirection : 'column' ,
98- gap : themeVars . spacing . md ,
98+ gap : themeVars . spacing . sm ,
9999 flex : 1 ,
100100 overflow : 'auto'
101101} )
102102
103103export const formSection = style ( {
104104 display : 'flex' ,
105105 flexDirection : 'column' ,
106- gap : themeVars . spacing . md
106+ gap : themeVars . spacing . sm
107107} )
108108
109109export const fieldGroup = style ( {
110110 display : 'flex' ,
111111 flexDirection : 'column' ,
112- gap : themeVars . spacing . xs
112+ gap : '0.375rem'
113113} )
114114
115115export const dateInputWrapper = style ( {
@@ -145,7 +145,8 @@ export const errorText = style({
145145export const summaryGrid = style ( {
146146 display : 'grid' ,
147147 gridTemplateColumns : 'repeat(2, 1fr)' ,
148- gap : themeVars . spacing . md ,
148+ gap : themeVars . spacing . sm ,
149+ marginTop : '0.5rem' ,
149150 '@media' : {
150151 '(max-width: 768px)' : {
151152 gridTemplateColumns : '1fr'
@@ -160,25 +161,31 @@ export const summaryCard = style({
160161 padding : themeVars . spacing . md ,
161162 display : 'flex' ,
162163 flexDirection : 'column' ,
163- gap : themeVars . spacing . xs
164+ gap : '0.375rem' ,
165+ transition : 'all 0.2s ease' ,
166+ ':hover' : {
167+ borderColor : themeVars . colors . border ,
168+ backgroundColor : `${ themeVars . colors . muted } 60`
169+ }
164170} )
165171
166172export const summaryHeader = style ( {
167173 display : 'flex' ,
168174 alignItems : 'center' ,
169- gap : themeVars . spacing . xs ,
175+ gap : '0.375rem' ,
170176 fontSize : '0.75rem' ,
171- color : themeVars . colors . mutedForeground
177+ color : themeVars . colors . mutedForeground ,
178+ marginBottom : '0.25rem'
172179} )
173180
174181export const summaryContent = style ( {
175182 display : 'flex' ,
176183 flexDirection : 'column' ,
177- gap : themeVars . spacing . xs
184+ gap : '0.25rem'
178185} )
179186
180187export const summaryValue = style ( {
181- fontSize : '0.875rem ' ,
188+ fontSize : '0.8125rem ' ,
182189 fontWeight : 600 ,
183190 color : themeVars . colors . foreground
184191} )
@@ -215,8 +222,131 @@ export const summaryRow = style({
215222
216223export const footer = style ( {
217224 display : 'flex' ,
218- gap : themeVars . spacing . md ,
225+ gap : themeVars . spacing . sm ,
219226 justifyContent : 'flex-end' ,
220- marginTop : themeVars . spacing . md ,
221- paddingTop : themeVars . spacing . md
227+ marginTop : themeVars . spacing . sm ,
228+ paddingTop : themeVars . spacing . sm ,
229+ borderTop : `1px solid ${ themeVars . colors . border } `
230+ } )
231+
232+ export const costSection = style ( {
233+ borderRadius : themeVars . radius . md ,
234+ border : `1px solid ${ themeVars . colors . border } ` ,
235+ backgroundColor : `${ themeVars . colors . muted } 40` ,
236+ padding : themeVars . spacing . md ,
237+ display : 'flex' ,
238+ flexDirection : 'column' ,
239+ gap : '0.5rem' ,
240+ marginTop : '0.5rem' ,
241+ transition : 'all 0.2s ease' ,
242+ ':hover' : {
243+ borderColor : themeVars . colors . border ,
244+ backgroundColor : `${ themeVars . colors . muted } 60`
245+ }
246+ } )
247+
248+ export const costHeader = style ( {
249+ display : 'flex' ,
250+ alignItems : 'center' ,
251+ gap : '0.375rem' ,
252+ fontSize : '0.875rem' ,
253+ fontWeight : 600 ,
254+ color : themeVars . colors . foreground ,
255+ marginBottom : '0.25rem'
256+ } )
257+
258+ export const costContent = style ( {
259+ display : 'flex' ,
260+ flexDirection : 'column' ,
261+ gap : '0.375rem'
262+ } )
263+
264+ export const costRow = style ( {
265+ display : 'flex' ,
266+ justifyContent : 'space-between' ,
267+ alignItems : 'center' ,
268+ fontSize : '0.8125rem'
269+ } )
270+
271+ export const costLabel = style ( {
272+ color : themeVars . colors . mutedForeground
273+ } )
274+
275+ export const costValue = style ( {
276+ fontWeight : 500 ,
277+ color : themeVars . colors . foreground
278+ } )
279+
280+ export const costLoading = style ( {
281+ display : 'flex' ,
282+ alignItems : 'center' ,
283+ gap : '0.375rem' ,
284+ fontSize : '0.875rem' ,
285+ color : themeVars . colors . mutedForeground ,
286+ padding : '0.5rem' ,
287+ justifyContent : 'center'
288+ } )
289+
290+ export const costError = style ( {
291+ fontSize : '0.875rem' ,
292+ color : themeVars . colors . destructive ,
293+ padding : '0.5rem' ,
294+ display : 'flex' ,
295+ alignItems : 'center' ,
296+ gap : '0.375rem' ,
297+ justifyContent : 'center' ,
298+ borderRadius : themeVars . radius . sm ,
299+ backgroundColor : `${ themeVars . colors . destructive } 10`
300+ } )
301+
302+ export const costWarning = style ( {
303+ fontSize : '0.75rem' ,
304+ color : themeVars . colors . mutedForeground ,
305+ padding : '0.5rem' ,
306+ display : 'flex' ,
307+ alignItems : 'flex-start' ,
308+ gap : '0.375rem' ,
309+ borderRadius : themeVars . radius . sm ,
310+ backgroundColor : 'rgba(245, 158, 11, 0.1)' ,
311+ border : '1px solid rgba(245, 158, 11, 0.2)' ,
312+ marginTop : '0.25rem'
313+ } )
314+
315+ export const costDivider = style ( {
316+ height : '1px' ,
317+ backgroundColor : themeVars . colors . border ,
318+ margin : '0.5rem 0'
319+ } )
320+
321+ export const costTotalRow = style ( {
322+ display : 'flex' ,
323+ justifyContent : 'space-between' ,
324+ alignItems : 'center' ,
325+ paddingTop : '0.5rem' ,
326+ marginTop : '0.25rem' ,
327+ borderTop : `1px solid ${ themeVars . colors . border } `
328+ } )
329+
330+ export const costTotalLabel = style ( {
331+ fontSize : '0.875rem' ,
332+ fontWeight : 600 ,
333+ color : themeVars . colors . foreground
334+ } )
335+
336+ export const costTotalValue = style ( {
337+ fontSize : '0.9375rem' ,
338+ fontWeight : 700 ,
339+ color : themeVars . colors . foreground
340+ } )
341+
342+ export const estimatedBadge = style ( {
343+ fontSize : '0.625rem' ,
344+ fontWeight : 600 ,
345+ padding : '0.125rem 0.375rem' ,
346+ borderRadius : themeVars . radius . sm ,
347+ backgroundColor : 'rgba(245, 158, 11, 0.2)' ,
348+ color : '#f59e0b' ,
349+ textTransform : 'uppercase' ,
350+ letterSpacing : '0.025em' ,
351+ marginLeft : 'auto'
222352} )
0 commit comments