Spaces:
Sleeping
Sleeping
Download static/css/styles.css from Aditya150/Veritas-AI: direct link, hf CLI and curl.
- Browser
- Download file 27.6 kB
-
https://huggingface.co/spaces/Aditya150/Veritas-AI/resolve/main/static/css/styles.css
- Command line
-
hf download hf://spaces/Aditya150/Veritas-AI/static/css/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/Aditya150/Veritas-AI/resolve/main/static/css/styles.css
27.6 kB
| /* === 1. Variables & Reset === */ | |
| :root { | |
| --bg-dark: #050509; | |
| --bg-panel: rgba(18, 18, 24, 0.65); | |
| --bg-glass: rgba(18, 18, 24, 0.85); | |
| --border-glow: rgba(0, 240, 255, 0.15); | |
| --border-active: #00F0FF; | |
| --text-main: #f0f0f0; | |
| --text-muted: #888888; | |
| --accent: #00F0FF; | |
| --accent-glow: rgba(0, 240, 255, 0.4); | |
| --danger: #FF2A55; | |
| --danger-glow: rgba(255, 42, 85, 0.4); | |
| --warning: #ffcc00; | |
| --success: #00ffaa; | |
| } | |
| * { box-sizing: border-box; margin: 0; padding: 0; } | |
| body { | |
| background-color: var(--bg-dark); | |
| color: var(--text-main); | |
| font-family: 'Outfit', sans-serif; | |
| background-image: | |
| radial-gradient(circle at 10% 20%, rgba(0, 255, 170, 0.03), transparent 30%), | |
| radial-gradient(circle at 90% 80%, rgba(255, 51, 102, 0.03), transparent 30%); | |
| min-height: 100vh; | |
| overflow-x: hidden; | |
| display: flex; | |
| flex-direction: column; | |
| } | |
| /* === 2. Header & Navigation === */ | |
| header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 20px 40px; | |
| border-bottom: 1px solid rgba(255, 255, 255, 0.03); | |
| background: rgba(0, 0, 0, 0.4); | |
| backdrop-filter: blur(20px); | |
| position: sticky; | |
| top: 0; | |
| z-index: 100; | |
| } | |
| .logo-section { | |
| display: flex; | |
| align-items: center; | |
| gap: 12px; | |
| font-family: 'Space Grotesk', sans-serif; | |
| font-size: 1.3rem; | |
| font-weight: 700; | |
| letter-spacing: 1px; | |
| } | |
| .logo-section i { color: var(--accent); text-shadow: 0 0 10px var(--accent-glow); } | |
| .logo-badge { | |
| background: rgba(0, 255, 170, 0.1); | |
| border: 1px solid rgba(0, 255, 170, 0.2); | |
| font-size: 0.65rem; | |
| padding: 3px 8px; | |
| border-radius: 4px; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| color: var(--accent); | |
| font-weight: 600; | |
| } | |
| .nav-actions { display: flex; align-items: center; gap: 20px; } | |
| .user-pill { | |
| background: var(--bg-glass); | |
| backdrop-filter: blur(16px); | |
| -webkit-backdrop-filter: blur(16px); | |
| border: 1px solid var(--border-glow); | |
| padding: 6px 14px; | |
| border-radius: 20px; | |
| font-size: 0.85rem; | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| cursor: pointer; | |
| transition: all 0.3s; | |
| } | |
| .user-pill:hover { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.03); } | |
| .user-pill i { color: var(--accent); } | |
| .btn-logout { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; } | |
| .btn-logout:hover { color: var(--danger); } | |
| .admin-link { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 8px; | |
| background: rgba(255, 51, 102, 0.1); | |
| color: var(--danger); | |
| border: 1px solid rgba(255, 51, 102, 0.2); | |
| padding: 8px 16px; | |
| border-radius: 8px; | |
| font-size: 0.85rem; | |
| font-weight: 600; | |
| text-decoration: none; | |
| transition: all 0.3s; | |
| text-transform: uppercase; | |
| } | |
| .admin-link:hover { background: var(--danger); color: #fff; transform: translateY(-1px); } | |
| /* === 3. Workspace & Panel Layout === */ | |
| main { | |
| flex: 1; | |
| max-width: 1300px; | |
| width: 100%; | |
| margin: 40px auto; | |
| padding: 0 20px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 30px; | |
| } | |
| .dashboard-grid { display: grid; grid-template-columns: 1fr; gap: 30px; } | |
| @media (min-width: 900px) { .dashboard-grid { grid-template-columns: 1fr 1fr; } } | |
| .glass-panel { | |
| background: var(--bg-glass); | |
| backdrop-filter: blur(20px); | |
| -webkit-backdrop-filter: blur(20px); | |
| border: 1px solid var(--border-glow); | |
| border-radius: 16px; | |
| padding: 30px; | |
| box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); | |
| display: flex; | |
| flex-direction: column; | |
| gap: 20px; | |
| position: relative; | |
| overflow: hidden; | |
| transition: border-color 0.4s; | |
| } | |
| .panel-title-sec { | |
| font-family: 'Space Grotesk', sans-serif; | |
| font-size: 1.25rem; | |
| font-weight: 600; | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| border-bottom: 1px solid rgba(255,255,255,0.03); | |
| padding-bottom: 15px; | |
| margin-bottom: 10px; | |
| } | |
| .panel-title-sec i { color: var(--accent); } | |
| /* === 4. Upload Drop Zone & Preview === */ | |
| .drop-zone { | |
| border: 2px dashed rgba(255, 255, 255, 0.1); | |
| border-radius: 12px; | |
| padding: 50px 20px; | |
| text-align: center; | |
| cursor: pointer; | |
| transition: all 0.3s; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 15px; | |
| background: rgba(255,255,255,0.01); | |
| } | |
| .drop-zone:hover, .drop-zone.dragover { | |
| border-color: var(--accent); | |
| background: rgba(0, 255, 170, 0.02); | |
| box-shadow: inset 0 0 20px rgba(0, 255, 170, 0.05); | |
| } | |
| .drop-zone i { font-size: 3.5rem; color: var(--text-muted); transition: transform 0.3s, color 0.3s; } | |
| .drop-zone:hover i { transform: translateY(-5px); color: var(--accent); } | |
| .drop-zone h3 { font-size: 1.1rem; font-weight: 600; } | |
| .drop-zone p { color: var(--text-muted); font-size: 0.85rem; } | |
| /* File type badges in drop zone */ | |
| .file-types { display: flex; gap: 8px; margin-top: 5px; } | |
| .file-type-badge { | |
| background: rgba(255,255,255,0.05); | |
| border: 1px solid rgba(255,255,255,0.1); | |
| padding: 2px 8px; | |
| border-radius: 4px; | |
| font-size: 0.7rem; | |
| color: var(--text-muted); | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| } | |
| .preview-container { | |
| display: none; | |
| width: 100%; | |
| border-radius: 12px; | |
| overflow: hidden; | |
| border: 1px solid rgba(255,255,255,0.05); | |
| position: relative; | |
| aspect-ratio: 16/10; | |
| } | |
| .preview-img, .preview-video { width: 100%; height: 100%; object-fit: cover; } | |
| .preview-actions { | |
| position: absolute; | |
| bottom: 20px; | |
| left: 20px; | |
| right: 20px; | |
| display: flex; | |
| gap: 15px; | |
| z-index: 10; | |
| } | |
| .btn { | |
| flex: 1; | |
| padding: 12px 20px; | |
| border-radius: 8px; | |
| font-family: inherit; | |
| font-weight: 600; | |
| font-size: 0.9rem; | |
| cursor: pointer; | |
| transition: all 0.3s; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 8px; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| } | |
| .btn-primary { | |
| background: var(--accent); | |
| color: #000; | |
| border: none; | |
| box-shadow: 0 4px 15px rgba(0, 255, 170, 0.3); | |
| } | |
| .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 255, 170, 0.4); } | |
| .btn-secondary { background: rgba(255, 255, 255, 0.05); color: var(--text-main); border: 1px solid rgba(255, 255, 255, 0.1); } | |
| .btn-secondary:hover { background: rgba(255, 255, 255, 0.1); } | |
| /* === 5. Scanning Overlay === */ | |
| .scan-overlay { | |
| display: none; | |
| position: absolute; | |
| top: 0; left: 0; right: 0; bottom: 0; | |
| background: rgba(3, 3, 3, 0.95); | |
| z-index: 50; | |
| padding: 40px; | |
| flex-direction: column; | |
| justify-content: center; | |
| align-items: center; | |
| gap: 30px; | |
| } | |
| /* Scan progress with real timer */ | |
| .scan-timer { | |
| font-family: 'Space Grotesk', sans-serif; | |
| font-size: 1.8rem; | |
| font-weight: 600; | |
| color: var(--accent); | |
| margin-top: 10px; | |
| } | |
| .scan-label { | |
| color: var(--text-muted); | |
| font-size: 0.85rem; | |
| margin-top: -15px; | |
| } | |
| .scan-visualizer { | |
| width: 140px; height: 140px; | |
| position: relative; border-radius: 50%; | |
| border: 2px solid rgba(0, 255, 170, 0.1); | |
| display: flex; align-items: center; justify-content: center; | |
| } | |
| .scan-visualizer::after { | |
| content: ''; | |
| position: absolute; width: 100%; height: 100%; | |
| border: 2px solid transparent; | |
| border-top-color: var(--accent); border-bottom-color: var(--accent); | |
| border-radius: 50%; | |
| animation: spin 1.5s linear infinite; | |
| } | |
| .scan-visualizer i { font-size: 3rem; color: var(--accent); animation: pulse-glow 2s infinite; } | |
| /* === 6. Results & Verdict === */ | |
| .results-container { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 25px; | |
| opacity: 0; | |
| transform: translateY(20px); | |
| transition: all 0.5s ease-out; | |
| } | |
| .results-container.visible { opacity: 1; transform: translateY(0); } | |
| /* Staggered card entrance animations */ | |
| .results-container.visible > .report-section:nth-child(1) { animation: slideUp 0.4s ease-out 0.05s both; } | |
| .results-container.visible > .report-section:nth-child(2) { animation: slideUp 0.4s ease-out 0.15s both; } | |
| .results-container.visible > .report-section:nth-child(3) { animation: slideUp 0.4s ease-out 0.25s both; } | |
| .results-container.visible > .report-section:nth-child(4) { animation: slideUp 0.4s ease-out 0.35s both; } | |
| .results-container.visible > .report-section:nth-child(5) { animation: slideUp 0.4s ease-out 0.45s both; } | |
| .results-container.visible > .report-section:nth-child(6) { animation: slideUp 0.4s ease-out 0.55s both; } | |
| @keyframes slideUp { | |
| from { opacity: 0; transform: translateY(20px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .verdict-banner { | |
| border-radius: 12px; | |
| padding: 20px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| border: 1px solid transparent; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .verdict-banner::before { | |
| content: ''; position: absolute; | |
| top: 0; left: 0; width: 4px; height: 100%; | |
| } | |
| .verdict-banner.fake { background: rgba(255, 51, 102, 0.05); border-color: rgba(255, 51, 102, 0.15); color: var(--danger); } | |
| .verdict-banner.fake::before { background: var(--danger); } | |
| .verdict-banner.real { background: rgba(0, 255, 170, 0.05); border-color: rgba(0, 255, 170, 0.15); color: var(--accent); } | |
| .verdict-banner.real::before { background: var(--accent); } | |
| .verdict-info h4 { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; } | |
| .verdict-info p { color: var(--text-muted); font-size: 0.85rem; } | |
| .verdict-percentage { font-family: 'Space Grotesk', sans-serif; font-size: 2.2rem; font-weight: 800; display: flex; align-items: baseline; gap: 2px; } | |
| .verdict-percentage span { font-size: 1rem; font-weight: 500; } | |
| /* Verdict action buttons row */ | |
| .verdict-actions { | |
| display: flex; | |
| gap: 10px; | |
| margin-top: 12px; | |
| } | |
| .btn-export { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 6px; | |
| background: rgba(255,255,255,0.05); | |
| border: 1px solid rgba(255,255,255,0.1); | |
| color: var(--text-main); | |
| padding: 8px 14px; | |
| border-radius: 6px; | |
| font-size: 0.8rem; | |
| font-weight: 500; | |
| cursor: pointer; | |
| transition: all 0.3s; | |
| font-family: inherit; | |
| } | |
| .btn-export:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); color: var(--accent); } | |
| .btn-export i { font-size: 0.85rem; } | |
| /* === 7. Image Comparison & Scanline === */ | |
| .images-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; } | |
| .img-box { border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); aspect-ratio: 1; position: relative; } | |
| .img-box img, .img-box video { width: 100%; height: 100%; object-fit: cover; } | |
| .img-box-label { | |
| position: absolute; bottom: 10px; left: 10px; | |
| background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); | |
| font-size: 0.65rem; font-weight: 600; | |
| letter-spacing: 0.5px; padding: 3px 8px; | |
| border-radius: 4px; text-transform: uppercase; | |
| border: 1px solid rgba(255,255,255,0.1); | |
| } | |
| .scan-line-active::after { | |
| content: ''; position: absolute; width: 100%; height: 100%; top: 0; left: 0; | |
| border-bottom: 3px solid var(--accent); box-shadow: 0 2px 8px var(--accent); | |
| transform: translateY(-100%); animation: scanline 2.5s ease-in-out infinite; | |
| will-change: transform; pointer-events: none; | |
| } | |
| /* === 8. Heatmap Overlay Slider (NEW) === */ | |
| .heatmap-slider-container { | |
| position: relative; | |
| width: 100%; | |
| aspect-ratio: 1; | |
| border-radius: 8px; | |
| overflow: hidden; | |
| cursor: col-resize; | |
| border: 1px solid var(--border-glow); | |
| } | |
| .heatmap-slider-container img { | |
| position: absolute; top: 0; left: 0; | |
| width: 100%; height: 100%; object-fit: cover; | |
| pointer-events: none; | |
| } | |
| .heatmap-slider-container .heatmap-overlay { | |
| clip-path: inset(0 0 0 50%); | |
| transition: clip-path 0.05s linear; | |
| } | |
| .heatmap-slider-handle { | |
| position: absolute; top: 0; bottom: 0; | |
| left: 50%; width: 3px; | |
| background: var(--accent); | |
| box-shadow: 0 0 10px var(--accent-glow); | |
| z-index: 10; | |
| pointer-events: none; | |
| } | |
| .heatmap-slider-handle::before, .heatmap-slider-handle::after { | |
| content: ''; position: absolute; | |
| top: 50%; width: 12px; height: 12px; | |
| background: var(--accent); | |
| border-radius: 50%; | |
| transform: translateY(-50%); | |
| } | |
| .heatmap-slider-handle::before { left: -6px; } | |
| .heatmap-slider-handle::after { right: -6px; display: none; } | |
| /* Opacity control slider */ | |
| .opacity-control { | |
| display: flex; align-items: center; gap: 10px; | |
| margin-top: 10px; | |
| font-size: 0.8rem; color: var(--text-muted); | |
| } | |
| .opacity-control input[type='range'] { | |
| flex: 1; height: 4px; | |
| -webkit-appearance: none; appearance: none; | |
| background: rgba(255,255,255,0.1); border-radius: 2px; outline: none; | |
| } | |
| .opacity-control input[type='range']::-webkit-slider-thumb { | |
| -webkit-appearance: none; appearance: none; | |
| width: 14px; height: 14px; | |
| background: var(--accent); border-radius: 50%; | |
| cursor: pointer; box-shadow: 0 0 6px var(--accent-glow); | |
| } | |
| /* === 9. Metrics Grid & Tooltips === */ | |
| .metrics-grid { display: grid; grid-template-columns: 1fr; gap: 15px; } | |
| @media (min-width: 600px) { .metrics-grid { grid-template-columns: 1fr 1fr; } } | |
| .metric-card { | |
| background: rgba(255,255,255,0.02); | |
| border: 1px solid rgba(255, 255, 255, 0.03); | |
| border-radius: 8px; padding: 15px; | |
| position: relative; display: flex; | |
| flex-direction: column; gap: 8px; | |
| cursor: pointer; transition: all 0.2s; | |
| } | |
| .metric-card:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); } | |
| .metric-meta { display: flex; justify-content: space-between; align-items: center; } | |
| .metric-label { font-size: 0.8rem; font-weight: 600; color: var(--text-main); display: flex; align-items: center; gap: 6px; } | |
| .metric-label i { color: var(--accent); font-size: 0.85rem; } | |
| .metric-value { font-family: monospace; font-size: 0.8rem; color: var(--text-muted); } | |
| .metric-progress-bar { width: 100%; height: 4px; background: rgba(255,255,255,0.05); border-radius: 2px; overflow: hidden; } | |
| .metric-fill { height: 100%; border-radius: 2px; width: 100%; transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(0.1, 0.8, 0.2, 1); will-change: transform; } | |
| .tooltip { | |
| visibility: hidden; width: 220px; | |
| background-color: #121212; color: #ccc; | |
| text-align: left; border-radius: 6px; | |
| padding: 10px 12px; position: absolute; | |
| z-index: 100; bottom: 125%; left: 50%; | |
| margin-left: -110px; opacity: 0; | |
| transition: opacity 0.3s; font-size: 0.75rem; | |
| line-height: 1.4; border: 1px solid rgba(255,255,255,0.1); | |
| box-shadow: 0 10px 20px rgba(0,0,0,0.5); | |
| pointer-events: none; | |
| } | |
| .tooltip::after { | |
| content: ''; position: absolute; top: 100%; left: 50%; | |
| margin-left: -5px; border-width: 5px; border-style: solid; | |
| border-color: rgba(255,255,255,0.1) transparent transparent transparent; | |
| } | |
| .metric-card:hover .tooltip { visibility: visible; opacity: 1; } | |
| .metric-card.active-tooltip .tooltip { visibility: visible; opacity: 1; } | |
| /* === 10. Report Sections & Forensic Components === */ | |
| .risk-badge { | |
| font-size: 0.75rem; font-weight: 700; | |
| padding: 4px 10px; border-radius: 20px; | |
| text-transform: uppercase; letter-spacing: 1px; | |
| margin-left: 10px; display: inline-block; | |
| } | |
| .risk-high { background: rgba(255, 42, 85, 0.2); color: var(--danger); border: 1px solid var(--danger-glow); animation: pulse-risk 2s infinite; } | |
| .risk-medium { background: rgba(255, 204, 0, 0.2); color: var(--warning); border: 1px solid rgba(255, 204, 0, 0.4); } | |
| .risk-low { background: rgba(0, 255, 170, 0.2); color: var(--success); border: 1px solid rgba(0, 255, 170, 0.4); } | |
| .report-section { | |
| background: rgba(255, 255, 255, 0.02); | |
| border: 1px solid rgba(255, 255, 255, 0.05); | |
| border-radius: 12px; padding: 20px; | |
| display: flex; flex-direction: column; gap: 15px; | |
| } | |
| .report-section-title { | |
| font-family: 'Space Grotesk', sans-serif; | |
| font-size: 1.1rem; font-weight: 600; | |
| color: var(--accent); display: flex; | |
| align-items: center; gap: 8px; | |
| border-bottom: 1px solid rgba(255,255,255,0.05); | |
| padding-bottom: 10px; | |
| } | |
| /* Collapsible accordion for Tier 3 */ | |
| .accordion-section { overflow: hidden; } | |
| .accordion-header { | |
| display: flex; justify-content: space-between; align-items: center; | |
| cursor: pointer; padding: 15px; | |
| background: rgba(255,255,255,0.02); | |
| border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; | |
| transition: all 0.2s; | |
| } | |
| .accordion-header:hover { background: rgba(255,255,255,0.04); } | |
| .accordion-header .accordion-icon { transition: transform 0.3s ease; } | |
| .accordion-section.open .accordion-header .accordion-icon { transform: rotate(180deg); } | |
| .accordion-body { | |
| max-height: 0; overflow: hidden; | |
| transition: max-height 0.4s ease-out, padding 0.3s ease; | |
| padding: 0 15px; | |
| border: 1px solid transparent; border-top: none; | |
| border-radius: 0 0 8px 8px; | |
| } | |
| .accordion-section.open .accordion-body { | |
| max-height: 2000px; padding: 15px; | |
| border-color: rgba(255,255,255,0.05); | |
| background: rgba(0,0,0,0.2); | |
| } | |
| .evidence-list { list-style: none; display: flex; flex-direction: column; gap: 8px; } | |
| .evidence-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--text-main); } | |
| .evidence-list li i { margin-top: 3px; color: var(--accent); } | |
| .breakdown-table { display: flex; flex-direction: column; gap: 12px; } | |
| .breakdown-row { display: flex; flex-direction: column; gap: 5px; } | |
| .breakdown-meta { display: flex; justify-content: space-between; font-size: 0.85rem; } | |
| .breakdown-bar-bg { width: 100%; height: 6px; background: rgba(255,255,255,0.05); border-radius: 3px; overflow: hidden; } | |
| .breakdown-bar-fill { height: 100%; border-radius: 3px; transition: width 1s cubic-bezier(0.1, 0.8, 0.2, 1); width: 0%; } | |
| .tabs { display: flex; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; flex-wrap: wrap; } | |
| .tab-btn { background: none; border: none; color: var(--text-muted); font-family: inherit; font-size: 0.9rem; cursor: pointer; padding: 5px 10px; transition: all 0.3s; border-radius: 4px; } | |
| .tab-btn:hover { color: var(--text-main); background: rgba(255,255,255,0.05); } | |
| .tab-btn.active { color: var(--accent); background: rgba(0, 240, 255, 0.1); } | |
| .tab-content { display: none; margin-top: 15px; } | |
| .tab-content.active { display: block; } | |
| .heatmap-img { width: 100%; border-radius: 8px; border: 1px solid var(--border-glow); } | |
| .meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; } | |
| .meta-item { display: flex; flex-direction: column; gap: 5px; } | |
| .meta-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; } | |
| .meta-val { font-size: 0.9rem; font-weight: 500; } | |
| .pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; } | |
| .pill { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 12px; font-size: 0.75rem; color: var(--text-muted); } | |
| .identity-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; } | |
| .identity-table th, .identity-table td { padding: 8px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.05); } | |
| .identity-table th { color: var(--text-muted); font-weight: 500; } | |
| .identity-table tr.flagged td { color: var(--danger); } | |
| /* === 11. Audio Waveform (NEW) === */ | |
| .audio-player-container { | |
| background: rgba(0,0,0,0.3); | |
| border: 1px solid rgba(255,255,255,0.05); | |
| border-radius: 8px; | |
| padding: 15px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 10px; | |
| } | |
| .audio-canvas-wrapper { | |
| position: relative; | |
| width: 100%; height: 80px; | |
| border-radius: 4px; | |
| overflow: hidden; | |
| } | |
| .audio-canvas-wrapper canvas { width: 100%; height: 100%; } | |
| .audio-controls { | |
| display: flex; align-items: center; gap: 12px; | |
| font-size: 0.85rem; color: var(--text-muted); | |
| } | |
| .audio-play-btn { | |
| background: var(--accent); border: none; color: #000; | |
| width: 32px; height: 32px; border-radius: 50%; | |
| display: flex; align-items: center; justify-content: center; | |
| cursor: pointer; font-size: 0.9rem; | |
| } | |
| /* === 12. Video Timeline (NEW) === */ | |
| .video-timeline { | |
| width: 100%; height: 24px; | |
| background: rgba(255,255,255,0.05); | |
| border-radius: 4px; | |
| display: flex; | |
| overflow: hidden; | |
| cursor: pointer; | |
| border: 1px solid rgba(255,255,255,0.05); | |
| } | |
| .timeline-segment { | |
| height: 100%; | |
| transition: opacity 0.2s; | |
| position: relative; | |
| } | |
| .timeline-segment:hover { opacity: 0.8; } | |
| .timeline-segment.real-segment { background: var(--success); } | |
| .timeline-segment.fake-segment { background: var(--danger); } | |
| .timeline-segment.uncertain-segment { background: var(--warning); } | |
| .timeline-info { | |
| display: flex; justify-content: space-between; | |
| font-size: 0.8rem; color: var(--text-muted); | |
| margin-top: 8px; | |
| } | |
| /* === 13. Skeleton Loading (NEW) === */ | |
| .skeleton { | |
| background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%); | |
| background-size: 200% 100%; | |
| animation: shimmer 1.5s ease-in-out infinite; | |
| border-radius: 8px; | |
| } | |
| .skeleton-verdict { height: 80px; border-radius: 12px; margin-bottom: 15px; } | |
| .skeleton-image { aspect-ratio: 1; border-radius: 8px; } | |
| .skeleton-bar { height: 6px; border-radius: 3px; margin: 8px 0; } | |
| .skeleton-text { height: 14px; border-radius: 4px; margin: 4px 0; } | |
| .skeleton-text.short { width: 60%; } | |
| @keyframes shimmer { | |
| 0% { background-position: 200% 0; } | |
| 100% { background-position: -200% 0; } | |
| } | |
| /* === 14. Modal & Form Elements === */ | |
| .modal { | |
| display: none; position: fixed; | |
| top: 0; left: 0; right: 0; bottom: 0; | |
| background: rgba(0,0,0,0.8); | |
| backdrop-filter: blur(10px); | |
| z-index: 200; | |
| align-items: center; justify-content: center; | |
| padding: 20px; | |
| } | |
| .modal-content { | |
| background: var(--bg-panel); | |
| border: 1px solid rgba(255,255,255,0.05); | |
| max-width: 500px; width: 100%; | |
| border-radius: 16px; padding: 30px; | |
| box-shadow: 0 30px 60px rgba(0,0,0,0.8); | |
| display: flex; flex-direction: column; gap: 20px; | |
| } | |
| .modal-header { | |
| display: flex; justify-content: space-between; align-items: center; | |
| border-bottom: 1px solid rgba(255,255,255,0.05); | |
| padding-bottom: 15px; | |
| font-family: 'Space Grotesk', sans-serif; | |
| } | |
| .btn-close { background: none; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; transition: color 0.2s; } | |
| .btn-close:hover { color: #fff; } | |
| .form-group { display: flex; flex-direction: column; gap: 8px; } | |
| .form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-main); } | |
| .form-group input[type='text'] { | |
| background: rgba(255,255,255,0.02); | |
| border: 1px solid rgba(255,255,255,0.08); | |
| padding: 12px; border-radius: 8px; | |
| color: #fff; font-family: inherit; | |
| font-size: 0.9rem; outline: none; | |
| transition: border-color 0.3s; | |
| } | |
| .form-group input[type='text']:focus { border-color: var(--accent); } | |
| .toggle-group { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; } | |
| .toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; } | |
| .toggle-switch input { opacity: 0; width: 0; height: 0; } | |
| .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255,255,255,0.1); transition: .3s; border-radius: 24px; } | |
| .slider:before { position: absolute; content: ''; height: 16px; width: 16px; left: 4px; bottom: 4px; background-color: #fff; transition: .3s; border-radius: 50%; } | |
| input:checked + .slider { background-color: var(--accent); } | |
| input:checked + .slider:before { transform: translateX(20px); } | |
| /* === 15. Toast Notification System === */ | |
| .toast-container { | |
| position: fixed; bottom: 30px; right: 30px; | |
| display: flex; flex-direction: column; gap: 12px; | |
| z-index: 9999; pointer-events: none; | |
| } | |
| .toast-card { | |
| background: var(--bg-glass); | |
| backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); | |
| border: 1px solid var(--border-glow); | |
| border-left: 4px solid var(--accent); | |
| padding: 16px 20px; border-radius: 8px; | |
| color: var(--text-main); font-size: 0.95rem; | |
| box-shadow: 0 10px 30px rgba(0,0,0,0.5); | |
| display: flex; align-items: center; gap: 14px; | |
| max-width: 350px; pointer-events: auto; | |
| transform: translateX(120%); opacity: 0; | |
| transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
| } | |
| .toast-card.show { transform: translateX(0); opacity: 1; } | |
| .toast-card i { font-size: 1.2rem; color: var(--accent); } | |
| .toast-card.error { border-left-color: var(--danger); } | |
| .toast-card.error i { color: var(--danger); } | |
| .toast-card.success { border-left-color: var(--success); } | |
| .toast-card.success i { color: var(--success); } | |
| .toast-card-content { flex-grow: 1; line-height: 1.4; } | |
| /* === 16. Keyframe Animations === */ | |
| @keyframes spin { 100% { transform: rotate(360deg); } } | |
| @keyframes scanline { 0% { transform: translateY(-100%); } 50% { transform: translateY(0); } 100% { transform: translateY(-100%); } } | |
| @keyframes pulse-glow { 0% { opacity: 0.6; text-shadow: 0 0 10px rgba(0, 255, 170, 0.2); } 50% { opacity: 1; text-shadow: 0 0 20px rgba(0, 255, 170, 0.6); } 100% { opacity: 0.6; text-shadow: 0 0 10px rgba(0, 255, 170, 0.2); } } | |
| @keyframes pulse-risk { 0% { box-shadow: 0 0 0 0 var(--danger-glow); } 70% { box-shadow: 0 0 0 10px rgba(255, 42, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 42, 85, 0); } } | |
| /* === 17. Responsive === */ | |
| @media (max-width: 768px) { | |
| header { padding: 12px 16px; backdrop-filter: none ; background: rgba(3, 3, 3, 0.95); } | |
| .logo-section { font-size: 1.1rem; gap: 8px; } | |
| .logo-badge { font-size: 0.6rem; padding: 2px 6px; } | |
| .nav-actions { gap: 10px; } | |
| .user-pill { padding: 4px 10px; font-size: 0.8rem; gap: 6px; } | |
| .admin-link { padding: 6px 12px; font-size: 0.75rem; gap: 6px; } | |
| main { margin: 15px auto; padding: 0 12px; gap: 15px; } | |
| .dashboard-grid { gap: 15px; } | |
| .glass-panel { padding: 15px; backdrop-filter: none ; background: rgba(10, 10, 10, 0.95); gap: 15px; } | |
| .drop-zone { padding: 30px 15px; gap: 10px; } | |
| .drop-zone i { font-size: 2.5rem; } | |
| .preview-container { aspect-ratio: 4/3; } | |
| .preview-actions { bottom: 12px; left: 12px; right: 12px; gap: 8px; } | |
| .btn { padding: 10px 15px; font-size: 0.85rem; } | |
| .scan-overlay { padding: 20px 10px; gap: 20px; backdrop-filter: none ; background: rgba(3, 3, 3, 0.98); } | |
| .scan-visualizer { width: 100px; height: 100px; } | |
| .scan-visualizer i { font-size: 2.2rem; } | |
| .results-container { gap: 15px; } | |
| .verdict-banner { padding: 15px; } | |
| .verdict-info h4 { font-size: 1.15rem; } | |
| .verdict-percentage { font-size: 1.8rem; } | |
| .images-comparison { gap: 10px; } | |
| .metrics-grid { grid-template-columns: 1fr; gap: 10px; } | |
| .metric-card { padding: 12px; gap: 6px; -webkit-tap-highlight-color: transparent; } | |
| .tooltip { width: 200px; margin-left: -100px; font-size: 0.7rem; padding: 8px 10px; } | |
| .modal-content { padding: 20px; gap: 15px; } | |
| .verdict-actions { flex-wrap: wrap; } | |
| } | |
| @media (max-width: 480px) { | |
| .verdict-banner { flex-direction: column; align-items: flex-start; gap: 12px; } | |
| .verdict-percentage { align-self: flex-end; } | |
| .user-pill { padding: 6px; border-radius: 50%; } | |
| .user-pill #header-username { display: none; } | |
| .user-pill i { margin: 0; } | |
| .heatmap-slider-container { aspect-ratio: auto; min-height: 200px; } | |
| } | |