File size: 4,864 Bytes
0d840ea
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
/* Style personnalisé pour l'interface du générateur de contrats en mode wizard */

/* Style global */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

/* Style pour le conteneur principal */
.gradio-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Style pour la barre de progression */
.progress-container {
    margin-bottom: 20px;
}

/* Style pour l'aperçu du contrat */
#contract-preview {
    max-height: 700px;
    overflow-y: auto;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.6;
    font-size: 14px;
    margin-top: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Style pour la suggestion de type de contrat */
#contract-suggestion {
    padding: 15px;
    border-left: 4px solid #3b82f6;
    background-color: #f0f7ff;
    margin: 15px 0;
    border-radius: 0 4px 4px 0;
}

/* Style pour les titres dans la prévisualisation */
#contract-preview h3 {
    color: #222;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

/* Style pour mettre en évidence les saisies utilisateur */
#contract-preview strong {
    color: #0056b3;
    font-weight: bold;
}

/* Style pour le bouton de génération */
#generate-btn {
    background-color: #2563eb;
    color: white;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#generate-btn:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* Style pour les boutons de navigation */
.navigation-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

/* Style pour les titres de section */
.gradio-container h2 {
    color: #1e40af;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 24px;
}

.gradio-container h3 {
    color: #333;
    margin-top: 20px;
    font-size: 18px;
}

/* Style pour les groupes */
.gradio-container .gr-group {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Style pour les labels des champs */
.gradio-container label {
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 5px;
}

/* Style pour les champs du formulaire */
.gradio-container input[type="text"],
.gradio-container textarea {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 14px;
    transition: all 0.3s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.gradio-container input[type="text"]:focus,
.gradio-container textarea:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* Style pour les informations/descriptions */
.gradio-container .info {
    color: #6b7280;
    font-size: 14px;
    margin-top: 4px;
}

/* Style pour les étapes du wizard */
.step-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #3b82f6;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    margin-right: 10px;
    font-weight: bold;
}

/* Style pour les informations d'aide */
.help-text {
    background-color: #f3f4f6;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 4px solid #9ca3af;
}

/* Style pour l'indicateur de progression */
.progress-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.progress-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: #e5e7eb;
    z-index: 1;
}

.progress-step.active:not(:last-child):after,
.progress-step.completed:not(:last-child):after {
    background-color: #3b82f6;
}

.progress-step-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #e5e7eb;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.progress-step.active .progress-step-circle,
.progress-step.completed .progress-step-circle {
    background-color: #3b82f6;
    color: white;
}

.progress-step-text {
    font-size: 12px;
    margin-top: 8px;
    color: #6b7280;
}

.progress-step.active .progress-step-text,
.progress-step.completed .progress-step-text {
    color: #1e40af;
    font-weight: 600;
}