Spaces:
Sleeping
Sleeping
| body { | |
| font-family: Arial, sans-serif; | |
| background: #f5f5f5; | |
| margin: 0; | |
| padding: 0; | |
| color: #333; | |
| } | |
| /* .top-bar { | |
| width: 100%; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 20px 40px; | |
| box-sizing: border-box; | |
| background-color: #fff; | |
| box-shadow: 0 2px 4px rgba(0,0,0,0.05); | |
| } */ | |
| .user-greeting { | |
| font-size: 18px; | |
| font-weight: 500; | |
| color: #2c3e50; | |
| } | |
| /* .button-group { | |
| display: flex; | |
| gap: 10px; | |
| } */ | |
| /* .btn { | |
| background: #2c3e50; | |
| color: #fff; | |
| padding: 8px 18px; | |
| border: none; | |
| border-radius: 4px; | |
| text-decoration: none; | |
| font-size: 16px; | |
| transition: background 0.2s; | |
| } | |
| .btn:hover { | |
| background: #34495e; | |
| } | |
| h1 { | |
| color: #2c3e50; | |
| text-align: center; | |
| margin: 32px 0; | |
| } */ | |
| /* Dashboard Styles */ | |
| .dashboard-container { | |
| max-width: 800px; | |
| margin: 40px auto; | |
| padding: 30px; | |
| background: #fff; | |
| border-radius: 10px; | |
| box-shadow: 0 4px 24px rgba(44, 62, 80, 0.08); | |
| } | |
| .file-input-wrapper { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| border: 2px dashed #d1d5db; | |
| border-radius: 8px; | |
| padding: 20px; | |
| text-align: center; | |
| transition: border-color 0.2s, background-color 0.2s; | |
| } | |
| .file-input-wrapper:hover { | |
| border-color: #2c3e50; | |
| background-color: #f9fafb; | |
| } | |
| .file-input-wrapper input[type="file"] { | |
| display: none; | |
| } | |
| .file-label { | |
| font-weight: 500; | |
| color: #34495e; | |
| cursor: pointer; | |
| flex-grow: 1; | |
| text-align: left; | |
| padding-left: 10px; | |
| } | |
| .active-file { | |
| font-weight: 600; | |
| color: #27ae60; | |
| } | |
| .btn-remove { | |
| background-color: #e74c3c; | |
| color: white; | |
| text-decoration: none; | |
| border: none; | |
| padding: 8px 15px; | |
| border-radius: 5px; | |
| cursor: pointer; | |
| font-size: 14px; | |
| font-weight: 500; | |
| transition: background-color 0.2s; | |
| } | |
| .btn-remove:hover { | |
| background-color: #c0392b; | |
| } | |
| .action-buttons { | |
| display: flex; | |
| justify-content: center; | |
| gap: 20px; | |
| margin-top: 20px; | |
| } | |
| .action-form { | |
| display: inline; | |
| } | |
| .btn-action { | |
| background: #2c3e50; | |
| color: #fff; | |
| padding: 12px 25px; | |
| border: none; | |
| border-radius: 5px; | |
| font-size: 16px; | |
| font-weight: 600; | |
| cursor: pointer; | |
| text-decoration: none; | |
| transition: background 0.2s, opacity 0.2s; | |
| display: inline-block; | |
| } | |
| .btn-action:hover { | |
| background: #34495e; | |
| } | |
| /* --- THIS IS THE FIX --- */ | |
| /* This rule applies to both the disabled <button> and the <a> tag with the .btn-disabled class */ | |
| .btn-action:disabled, | |
| .btn-disabled { | |
| cursor: not-allowed; | |
| pointer-events: none; | |
| opacity: 0.6; /* Fades the button out instead of changing its color */ | |
| } | |
| .results-area { | |
| margin-top: 40px; | |
| padding-top: 20px; | |
| border-top: 1px solid #e0e0e0; | |
| } | |
| .results-area h2 { | |
| color: #2c3e50; | |
| margin-bottom: 15px; | |
| } | |
| .result-content { | |
| background-color: #f9fafb; | |
| padding: 20px; | |
| border-radius: 8px; | |
| line-height: 1.6; | |
| color: #34495e; | |
| } | |
| /* Flash Message Styles */ | |
| .flash-container { | |
| min-height: 50px; | |
| } | |
| .alert { | |
| padding: 15px; | |
| margin-bottom: 20px; | |
| border-radius: 4px; | |
| color: #fff; | |
| text-align: center; | |
| opacity: 1; | |
| transition: opacity 0.5s ease-out; | |
| } | |
| .alert.fade-out { | |
| opacity: 0; | |
| } | |
| .alert-success { background-color: #2ecc71; } | |
| .alert-danger { background-color: #e74c3c; } | |
| .alert-warning { background-color: #f39c12; } | |
| .alert-info { background-color: #3498db; } | |
| /* Clause Styles */ | |
| .clause-title-header { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| } | |
| .flag-icon { | |
| font-size: 20px; | |
| } | |
| .clause-item { | |
| background-color: #f9fafb; | |
| border: 1px solid #e7e7e7; | |
| padding: 15px 20px; | |
| border-radius: 8px; | |
| margin-bottom: 15px; | |
| } | |
| .clause-item h3 { | |
| margin: 0; | |
| color: #2c3e50; | |
| font-size: 18px; | |
| } | |
| .clause-item p { | |
| margin-top: 10px; | |
| line-height: 1.6; | |
| color: #34495e; | |
| white-space: pre-wrap; | |
| } | |
| /* Chat Styles */ | |
| .chat-section { | |
| margin-top: 40px; | |
| padding-top: 20px; | |
| border-top: 1px solid #e0e0e0; | |
| } | |
| .chat-container { | |
| border: 1px solid #ddd; | |
| border-radius: 8px; | |
| overflow: hidden; | |
| display: flex; | |
| flex-direction: column; | |
| height: 500px; | |
| } | |
| .chat-messages { | |
| flex-grow: 1; | |
| padding: 20px; | |
| overflow-y: auto; | |
| background-color: #f9fafb; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 15px; | |
| } | |
| .message { | |
| display: flex; | |
| max-width: 80%; | |
| } | |
| .message .bubble { | |
| padding: 10px 15px; | |
| border-radius: 18px; | |
| line-height: 1.5; | |
| white-space: pre-wrap; | |
| } | |
| .message.user { | |
| align-self: flex-end; | |
| } | |
| .message.user .bubble { | |
| background-color: #3498db; | |
| color: white; | |
| border-bottom-right-radius: 4px; | |
| } | |
| .message.ai { | |
| align-self: flex-start; | |
| } | |
| .message.ai .bubble { | |
| background-color: #ecf0f1; | |
| color: #2c3e50; | |
| border-bottom-left-radius: 4px; | |
| } | |
| .chat-input-form { | |
| display: flex; | |
| border-top: 1px solid #ddd; | |
| padding: 10px; | |
| background-color: #fff; | |
| } | |
| .chat-input-form input[type="text"] { | |
| flex-grow: 1; | |
| border: 1px solid #ccc; | |
| border-radius: 20px; | |
| padding: 10px 15px; | |
| font-size: 16px; | |
| outline: none; | |
| } | |
| .chat-input-form button { | |
| background-color: #2c3e50; | |
| color: white; | |
| border: none; | |
| border-radius: 50%; | |
| width: 40px; | |
| height: 40px; | |
| margin-left: 10px; | |
| cursor: pointer; | |
| font-size: 18px; | |
| font-weight: 600; | |
| transition: background-color 0.2s; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .chat-input-form button:hover { | |
| background-color: #34495e; | |
| } | |