@@ -433,13 +433,23 @@ function showDismissConfirmation() {
433433 const dialog = document . createElement ( 'div' ) ;
434434 Object . assign ( dialog . style , {
435435 background : 'var(--color-bg, #fff)' , borderRadius : '12px' ,
436- padding : '24px' , maxWidth : '320px' , width : '90%' ,
437- boxShadow : '0 8px 32px rgba(0,0,0,0.2)' ,
438- textAlign : 'center' , fontFamily : 'var(--font-body, -apple-system, BlinkMacSystemFont, sans-serif)' ,
436+ padding : '20px' , maxWidth : '320px' , width : '90%' ,
437+ boxShadow : '0 8px 32px rgba(0,0,0,0.12)' ,
438+ border : '1px solid var(--color-border, rgba(226,232,240,0.8))' ,
439+ fontFamily : 'system-ui, -apple-system, sans-serif' ,
440+ lineHeight : '1.5' ,
439441 } ) ;
440442
443+ const titleEl = document . createElement ( 'div' ) ;
444+ Object . assign ( titleEl . style , {
445+ fontWeight : '700' , fontSize : '1.1em' , color : 'var(--color-primary, #00693e)' ,
446+ marginBottom : '8px' , textAlign : 'center' ,
447+ } ) ;
448+ titleEl . textContent = 'Exit Tutorial?' ;
449+ dialog . appendChild ( titleEl ) ;
450+
441451 const msg = document . createElement ( 'p' ) ;
442- Object . assign ( msg . style , { margin : '0 0 16px' , fontSize : '1rem ' , color : 'var(--color-text, #0f172a) ' } ) ;
452+ Object . assign ( msg . style , { margin : '0 0 16px' , fontSize : '0.95em ' , color : 'var(--color-text-muted , #64748b)' , textAlign : 'center ' } ) ;
443453 msg . textContent = 'Are you sure you want to exit the tutorial?' ;
444454 dialog . appendChild ( msg ) ;
445455
@@ -449,7 +459,8 @@ function showDismissConfirmation() {
449459 const cancelBtn = document . createElement ( 'button' ) ;
450460 Object . assign ( cancelBtn . style , {
451461 padding : '8px 20px' , borderRadius : '8px' , border : '1.5px solid var(--color-border, #ccc)' ,
452- background : 'var(--color-bg, #fff)' , cursor : 'pointer' , fontSize : '0.9rem' ,
462+ background : 'var(--color-bg, #fff)' , cursor : 'pointer' , fontSize : '0.95em' ,
463+ fontFamily : 'system-ui, -apple-system, sans-serif' ,
453464 } ) ;
454465 cancelBtn . textContent = 'Cancel' ;
455466 cancelBtn . addEventListener ( 'click' , ( ) => overlay . remove ( ) ) ;
@@ -458,7 +469,8 @@ function showDismissConfirmation() {
458469 Object . assign ( exitBtn . style , {
459470 padding : '8px 20px' , borderRadius : '8px' , border : 'none' ,
460471 background : 'var(--color-primary, #00693e)' , color : '#fff' ,
461- cursor : 'pointer' , fontSize : '0.9rem' ,
472+ cursor : 'pointer' , fontSize : '0.95em' , fontWeight : '600' ,
473+ fontFamily : 'system-ui, -apple-system, sans-serif' ,
462474 } ) ;
463475 exitBtn . textContent = 'Exit' ;
464476 exitBtn . addEventListener ( 'click' , ( ) => { overlay . remove ( ) ; dismissTutorial ( ) ; } ) ;
0 commit comments