* { margin: 0; padding: 0; box-sizing: border-box; font-family: Inter, Arial, sans-serif; } body { background: #f7f9fc; color: #1f2937; } .container { width: 90%; max-width: 1200px; margin: 40px auto; } /* Header */ .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; } .logo span { font-size: 22px; font-weight: 700; } .logo p { font-size: 13px; color: #6b7280; } .primary-btn { background: #2563eb; color: white; border: none; padding: 12px 18px; border-radius: 8px; cursor: pointer; font-weight: 600; } .primary-btn:hover:not(:disabled) { background: #1e4fd8; } .primary-btn:disabled { cursor: not-allowed; } .secondary-btn:disabled { cursor: not-allowed; } /* Search */ .search-box input { width: 100%; padding: 14px; border-radius: 10px; border: 1px solid #d1d5db; margin-bottom: 25px; } /* Cards */ .cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; } .card { background: white; padding: 20px; border-radius: 12px; border: 1px solid #e5e7eb; } .card h4 { font-size: 13px; color: #6b7280; margin-bottom: 10px; } .card h2 { font-size: 28px; margin-bottom: 5px; } .card p { font-size: 13px; color: #6b7280; } .card.highlight { border: 2px solid #93c5fd; background: #eff6ff; } .card.success { border: 2px solid #86efac; background: #ecfdf5; } /* Cases */ .cases { background: white; border-radius: 12px; border: 1px solid #e5e7eb; padding: 25px; } .cases-header { display: flex; justify-content: space-between; margin-bottom: 40px; } .empty-state { text-align: center; color: #9ca3af; } .empty-state p { margin: 10px 0; } .empty-state a { color: #2563eb; text-decoration: none; font-weight: 600; } /* Modal */ .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); justify-content: center; align-items: center; z-index: 1000; } .modal-content { background: white; padding: 30px; border-radius: 12px; width: 400px; position: relative; } .modal-content h2 { margin-bottom: 10px; } .modal-content p { color: #6b7280; font-size: 14px; margin-bottom: 20px; } .modal-content input[type="file"] { width: 100%; margin-bottom: 20px; } .full-width { width: 100%; } .close { position: absolute; top: 15px; right: 20px; font-size: 22px; cursor: pointer; color: #6b7280; } /* Form Page Styles */ .secondary-btn { background: #f3f4f6; color: #1f2937; border: 1px solid #d1d5db; padding: 10px 16px; border-radius: 8px; cursor: pointer; font-weight: 600; text-decoration: none; display: inline-block; } .secondary-btn:hover:not(:disabled) { background: #e5e7eb; } .secondary-btn:disabled { cursor: not-allowed; } .form-container { background: white; border-radius: 12px; border: 1px solid #e5e7eb; padding: 32px 32px; max-width: 1150px; margin: 0 auto; } .form-container h2 { margin-bottom: 10px; color: #1f2937; } .form-subtitle { color: #6b7280; margin-bottom: 30px; font-size: 14px; } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 25px; } .form-group { margin-bottom: 25px; } .form-row .form-group { margin-bottom: 0; } .form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: #374151; font-size: 14px; } .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid #d1d5db; font-size: 14px; font-family: Inter, Arial, sans-serif; transition: border-color 0.2s; } .form-group select { cursor: pointer; } /* Custom Dropdown Styles */ .custom-select-wrapper { position: relative; } .custom-select { position: relative; width: 100%; } .custom-select-trigger { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 8px; background: white; cursor: pointer; font-size: 14px; font-family: Inter, Arial, sans-serif; transition: border-color 0.2s; } .custom-select-trigger:hover { border-color: #9ca3af; } .custom-select.open .custom-select-trigger { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); } .custom-select-trigger .arrow { font-size: 10px; transition: transform 0.2s; color: #6b7280; } .custom-select.open .custom-select-trigger .arrow { transform: rotate(180deg); } .custom-options { position: absolute; display: none; top: 100%; left: 0; right: 0; border: 1px solid #d1d5db; border-radius: 8px; background: white; margin-top: 4px; max-height: 250px; overflow-y: auto; z-index: 100; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); } .custom-select.open .custom-options { display: block; } .custom-option { padding: 10px 14px; cursor: pointer; font-size: 14px; transition: background-color 0.15s; } .custom-option:hover { background-color: #f3f4f6; } .custom-option.selected { background-color: #eff6ff; color: #2563eb; font-weight: 500; } .custom-options::-webkit-scrollbar { width: 8px; } .custom-options::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 8px; } .custom-options::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 8px; } .custom-options::-webkit-scrollbar-thumb:hover { background: #9ca3af; } .form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); } .form-group textarea { resize: vertical; min-height: 100px; } .form-actions { margin-top: 35px; } /* Results Page Styles */ .results-summary { background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); color: white; border-radius: 12px; padding: 30px; margin-bottom: 30px; } .results-summary h2 { margin-bottom: 20px; color: white; } .summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; } .summary-item { display: flex; flex-direction: column; gap: 5px; } .summary-item .label { font-size: 13px; opacity: 0.9; font-weight: 500; } .summary-item .value { font-size: 16px; font-weight: 600; } .results-container { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; } .result-section { background: white; border-radius: 12px; border: 1px solid #e5e7eb; padding: 25px; } .result-section h3 { margin-bottom: 15px; color: #1f2937; font-size: 16px; font-weight: 600; } .result-content { color: #374151; } .result-list { list-style: none; padding-left: 0; } .result-list li { padding: 12px 15px; margin-bottom: 8px; background: #f9fafb; border-left: 3px solid #2563eb; border-radius: 6px; font-size: 14px; line-height: 1.6; } .urgency-list li { border-left-color: #dc2626; background: #fef2f2; } .no-data { color: #9ca3af; font-style: italic; padding: 15px; text-align: center; background: #f9fafb; border-radius: 6px; font-size: 14px; } .monetary-value { font-size: 20px; font-weight: 700; color: #2563eb; text-align: center; padding: 15px; background: #f9fafb; border-radius: 8px; } .highlight-section { border: 1px solid #e5e7eb; background: white; } .alert-section { border: 1px solid #e5e7eb; background: white; } .alert-section h3 { color: #dc2626; } .results-actions { text-align: center; } .results-actions .primary-btn { display: inline-block; text-decoration: none; padding: 14px 24px; } /* Responsive Design */ @media (max-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } .summary-grid { grid-template-columns: 1fr; } } @media (max-width: 480px) { .cards { grid-template-columns: 1fr; } } /* Document Upload Section */ .upload-boxes-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; } .upload-box { border: 2px dashed #d1d5db; border-radius: 12px; padding: 18px 24px; text-align: center; cursor: pointer; transition: all 0.3s ease; background: #f9fafb; display: flex; align-items: center; justify-content: center; gap: 12px; } .upload-box:hover { border-color: #2563eb; background: #eff6ff; transform: translateY(-2px); } .upload-icon { color: #6b7280; flex-shrink: 0; transition: color 0.3s ease; } .upload-box:hover .upload-icon { color: #2563eb; } .upload-label { font-size: 16px; font-weight: 600; color: #374151; } .uploaded-files-list { margin-top: 20px; } .file-card { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: white; border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 10px; transition: all 0.2s ease; } .file-card:hover { border-color: #2563eb; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1); } .file-info { display: flex; align-items: center; gap: 12px; flex: 1; } .file-name { font-size: 14px; color: #374151; font-weight: 500; flex: 1; } .delete-file-btn { background: none; border: none; color: #dc2626; cursor: pointer; padding: 6px; border-radius: 4px; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; } .delete-file-btn:hover { background: #fef2f2; } @media (max-width: 768px) { .upload-boxes-container { grid-template-columns: 1fr; gap: 15px; } .upload-box { padding: 30px 20px; } } /* Hide header controls during export/print if you later switch to print-based export */ @media print { .header { display: none !important; } body { background: white !important; } } .recommendation-card { border-radius: 12px; padding: 16px; margin-bottom: 12px; border: 1px solid #e5e7eb; } .recommendation-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; } .recommendation-pill { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid #e5e7eb; background: #fff; color: #6b7280; }