/* 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; }