11/* Main App Layout */
22.app-container {
3- font-family : 'Roboto' , 'Segoe UI' , Arial , sans-serif ;
3+ font-family : var ( --font-family ) ;
44 max-width : 1200px ;
55 margin : 0 auto;
6- padding : 20 px ;
7- background : linear-gradient (to bottom , # f9f9f9 , # e9e9e9 );
6+ padding : 28 px ;
7+ background-color : var ( --card-bg );
88 min-height : 100vh ;
9- color : # 333 ;
9+ color : var (--text-color );
10+ border-radius : var (--border-radius );
11+ box-shadow : var (--box-shadow );
1012}
1113
1214header {
1315 text-align : center;
14- margin-bottom : 30 px ;
15- padding-bottom : 20 px ;
16- border-bottom : 1px solid # ddd ;
16+ margin-bottom : 32 px ;
17+ padding-bottom : 24 px ;
18+ border-bottom : 1px solid var ( --soft-gray ) ;
1719}
1820
1921header h1 {
20- color : # 2c3e50 ;
21- margin-bottom : 5px ;
22+ color : var (--secondary-color );
23+ font-size : 32px ;
24+ font-weight : 700 ;
25+ margin-bottom : 8px ;
2226}
2327
2428header h2 {
25- color : # 3498db ;
26- font-weight : normal;
29+ color : var (--primary-color );
30+ font-weight : 500 ;
31+ font-size : 18px ;
2732}
2833
2934main {
@@ -49,58 +54,110 @@ main {
4954/* Simulation Display */
5055.simulation-display {
5156 flex : 1 ;
52- padding : 25 px ;
53- background-color : white ;
54- border-radius : 12 px ;
55- box-shadow : 0 4 px 12 px rgba ( 0 , 0 , 0 , 0.1 );
57+ padding : 28 px ;
58+ background-color : var ( --card-bg ) ;
59+ border-radius : var ( --border-radius ) ;
60+ box-shadow : var ( --box-shadow );
5661}
5762
5863.simulation-display h2 {
59- color : # 2c3e50 ;
64+ color : var (--secondary-color );
65+ font-size : 24px ;
66+ font-weight : 600 ;
6067 margin-top : 0 ;
6168 margin-bottom : 20px ;
6269 padding-bottom : 10px ;
63- border-bottom : 2px solid # 3498db ;
70+ border-bottom : 2px solid var ( --primary-color ) ;
6471}
6572
6673/* Messages */
6774.fidelity-info {
68- margin-top : 30 px ;
69- padding : 15 px ;
75+ margin-top : 32 px ;
76+ padding : 20 px ;
7077 background-color : # f8f9fa ;
71- border-radius : 8 px ;
72- box-shadow : inset 0 0 5px rgba (0 , 0 , 0 , 0.05 );
78+ border-radius : var ( --border-radius ) ;
79+ box-shadow : inset 0 0 5px rgba (0 , 0 , 0 , 0.03 );
7380}
7481
7582.fidelity-info h3 {
76- color : # 2c3e50 ;
83+ color : var (--secondary-color );
84+ font-size : 18px ;
85+ font-weight : 600 ;
7786 margin-top : 0 ;
78- margin-bottom : 10 px ;
87+ margin-bottom : 12 px ;
7988}
8089
8190.completion-message {
82- padding : 15 px ;
83- background-color : # d4edda ;
84- color : # 155724 ;
85- border-radius : 8 px ;
91+ padding : 16 px 20 px ;
92+ background-color : rgba ( 16 , 185 , 129 , 0.1 ) ;
93+ color : var ( --highlight-green ) ;
94+ border-radius : var ( --border-radius ) ;
8695 margin-top : 20px ;
87- box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.05 );
88- border-left : 5 px solid # 28a745 ;
96+ box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.03 );
97+ border-left : 4 px solid var ( --highlight-green ) ;
8998 animation : fadeIn 0.5s ;
9099}
91100
92101.completion-message .error {
93- background-color : # f8d7da ;
94- color : # 721c24 ;
95- border-left-color : # dc3545 ;
102+ background-color : rgba ( 239 , 68 , 68 , 0.1 ) ;
103+ color : # dc2626 ;
104+ border-left-color : # dc2626 ;
96105}
97106
98107/* Footer */
99108footer {
100- margin-top : 40 px ;
109+ margin-top : 48 px ;
101110 text-align : center;
102111 font-size : 14px ;
103- color : # 777 ;
104- padding : 20px ;
105- border-top : 1px solid # eee ;
112+ color : # 94a3b8 ;
113+ padding : 24px ;
114+ border-top : 1px solid var (--soft-gray );
115+ }
116+
117+ /* Mobile responsive styles */
118+ @media (max-width : 768px ) {
119+ .app-container {
120+ padding : 16px ;
121+ border-radius : 0 ;
122+ }
123+
124+ header h1 {
125+ font-size : 24px ;
126+ }
127+
128+ header h2 {
129+ font-size : 16px ;
130+ }
131+
132+ main {
133+ padding-top : 20px ; /* Add space for the fixed toggle button */
134+ }
135+
136+ .simulation-area {
137+ flex-direction : column;
138+ gap : 16px ;
139+ }
140+
141+ /* The drawer now handles the control panel display independently */
142+ .simulation-area > : nth-child (2 ) {
143+ width : 100% ;
144+ }
145+
146+ .simulation-display {
147+ padding : 16px ;
148+ }
149+
150+ .drawer-toggle .open {
151+ display : none;
152+ }
153+
154+ .drawer-overlay {
155+ position : fixed;
156+ top : 0 ;
157+ left : 0 ;
158+ width : 100% ;
159+ height : 100vh ;
160+ background-color : rgba (0 , 0 , 0 , 0.5 );
161+ z-index : 900 ;
162+ }
106163}
0 commit comments