Spaces:
Sleeping
Sleeping
| :root { | |
| --accent-color: #003366; /* Navy blue */ | |
| } | |
| #input-container { | |
| margin-bottom: 20px; | |
| background-color: #ffffff; | |
| padding: 20px; | |
| border-radius: 8px; | |
| box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
| } | |
| .button-container { | |
| justify-content: space-between; | |
| height: 30px; | |
| } | |
| #output-container { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 20px; | |
| } | |
| #report-container, #sources-container { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| line-height: 1.6; | |
| margin: 0; | |
| padding: 0; | |
| background-color: #f0f2f5; | |
| color: #333; | |
| background-color: #ffffff; | |
| padding: 30px; | |
| border-radius: 8px; | |
| box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |
| overflow-wrap: break-word; | |
| word-wrap: break-word; | |
| word-break: break-word; | |
| } | |
| table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| margin-bottom: 20px; | |
| } | |
| table, th, td { | |
| border: 1px solid #ddd; | |
| } | |
| th, td { | |
| padding: 10px; | |
| text-align: left; | |
| } | |
| textarea { | |
| width: 100%; | |
| padding: 12px; | |
| margin-bottom: 15px; | |
| border: 1px solid #ccc; | |
| border-radius: 4px; | |
| font-size: 16px; | |
| resize: vertical; | |
| box-sizing: border-box; | |
| } | |
| button { | |
| padding: 12px 24px; | |
| background-color: var(--accent-color); | |
| color: white; | |
| border: none; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| font-size: 16px; | |
| transition: background-color 0.3s; | |
| } | |
| button:hover { | |
| background-color: #002244; | |
| } | |
| .source-item { | |
| margin-bottom: 20px; | |
| padding: 15px; | |
| background-color: #f9f9f9; | |
| border: 1px solid #e0e0e0; | |
| border-radius: 8px; | |
| position: relative; | |
| cursor: pointer; | |
| transition: box-shadow 0.3s; | |
| } | |
| .source-item:hover { | |
| box-shadow: 0 4px 8px rgba(0,0,0,0.1); | |
| } | |
| .source-url { | |
| color: var(--accent-color); | |
| text-decoration: none; | |
| word-break: break-all; | |
| font-weight: bold; | |
| display: block; | |
| margin-bottom: 10px; | |
| cursor: pointer; | |
| } | |
| .source-content { | |
| margin-top: 10px; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .source-snippet { | |
| max-height: 150px; | |
| overflow: hidden; | |
| } | |
| .source-full { | |
| display: none; | |
| } | |
| .expand-indicator { | |
| position: absolute; | |
| bottom: 0; | |
| left: 0; | |
| right: 0; | |
| height: 30px; | |
| background: linear-gradient(to bottom, rgba(249,249,249,0), rgba(249,249,249,1)); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .expand-indicator::after { | |
| content: '▼'; | |
| font-size: 14px; | |
| color: #666; | |
| } | |
| .expanded .expand-indicator::after { | |
| content: '▲'; | |
| } | |
| .source-item:hover .expand-indicator { | |
| background: linear-gradient(to bottom, rgba(249,249,249,0), rgba(249,249,249,0.9)); | |
| } | |
| h2 { | |
| color: var(--accent-color); | |
| border-bottom: 2px solid var(--accent-color); | |
| padding-bottom: 10px; | |
| margin-top: 0; | |
| } | |
| @media (min-width: 768px) { | |
| #output-container { | |
| flex-direction: row; | |
| } | |
| #report-container { | |
| flex: 3; | |
| } | |
| #sources-container { | |
| flex: 2; | |
| } | |
| } | |
| @media (max-width: 767px) { | |
| body { | |
| padding: 10px; | |
| } | |
| #input-container, #report-container, #sources-container { | |
| padding: 15px; | |
| } | |
| } | |
| .centered-container { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| min-height: calc(100vh - 40px); | |
| } | |
| .search-container { | |
| display: flex; | |
| margin-top: 20px; | |
| } | |
| .search-container input { | |
| width: 500px; | |
| padding: 10px 20px; | |
| font-size: 16px; | |
| border: 1px solid #bfcceb; | |
| border-radius: 15px 0 0 15px; | |
| outline: none; | |
| color: #0e1f4b; | |
| } | |
| .search-container button { | |
| width: 50px; | |
| padding: 10px; | |
| background: #ffffff; | |
| border: none; | |
| cursor: pointer; | |
| transition: opacity 0.3s ease; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| border-radius: 0 15px 15px 0; | |
| } | |
| .search-container button:hover { | |
| opacity: 0.5; | |
| } | |
| .search-container button svg { | |
| width: 24px; | |
| height: 24px; | |
| } | |
| ::placeholder { | |
| font-style: italic; | |
| font: 1em sans-serif; | |
| color: #7088c1; | |
| opacity: 0.5; | |
| } | |
| .title { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| font-weight: 700; | |
| font-size: 64px ; | |
| background: linear-gradient(45deg, #3b82f6, #10b981); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| text-align: center; | |
| margin: 0; | |
| padding: 0 0 0.5rem; | |
| } | |
| .generate-btn { | |
| white-space: nowrap; | |
| } | |
| .download-btn { | |
| background-color: #30764c; | |
| margin-top: 10px; | |
| } | |
| .download-btn:hover { | |
| background-color: #2c8d55; | |
| } |