Spaces:
Runtime error
Runtime error
| /* Splash Screen Styles */ | |
| #splash-screen { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100vw; | |
| height: 100vh; | |
| background: linear-gradient(135deg, #020617 0%, #0f172a 100%); | |
| z-index: 9999; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| flex-direction: column; | |
| color: #fff; | |
| transition: opacity 0.8s ease, visibility 0.8s ease; | |
| } | |
| .splash-content { | |
| text-align: center; | |
| animation: fadeIn 1s ease-out; | |
| } | |
| .splash-logo-container { | |
| position: relative; | |
| width: 120px; | |
| height: 120px; | |
| margin: 0 auto 20px; | |
| } | |
| .splash-logo { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: contain; | |
| position: relative; | |
| z-index: 2; | |
| animation: pulseLogo 2s infinite ease-in-out; | |
| } | |
| .splash-glow { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| width: 140%; | |
| height: 140%; | |
| transform: translate(-50%, -50%); | |
| background: radial-gradient(circle, rgba(13, 148, 136, 0.4) 0%, rgba(0,0,0,0) 70%); | |
| z-index: 1; | |
| animation: pulseGlow 2s infinite ease-in-out; | |
| } | |
| .splash-title { | |
| font-size: 2.5rem; | |
| font-weight: 700; | |
| letter-spacing: 2px; | |
| margin-bottom: 8px; | |
| background: linear-gradient(to right, #2dd4bf, #0ea5e9); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .splash-subtitle { | |
| font-size: 1rem; | |
| color: #94a3b8; | |
| margin-bottom: 40px; | |
| letter-spacing: 1px; | |
| } | |
| .splash-loader { | |
| width: 200px; | |
| height: 4px; | |
| background: rgba(255, 255, 255, 0.1); | |
| border-radius: 4px; | |
| overflow: hidden; | |
| margin: 0 auto; | |
| position: relative; | |
| } | |
| .splash-loader::after { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: -50%; | |
| width: 50%; | |
| height: 100%; | |
| background: linear-gradient(90deg, transparent, #2dd4bf, transparent); | |
| animation: loadingBar 1.5s infinite ease-in-out; | |
| } | |
| @keyframes pulseLogo { | |
| 0% { transform: scale(1); } | |
| 50% { transform: scale(1.05); } | |
| 100% { transform: scale(1); } | |
| } | |
| @keyframes pulseGlow { | |
| 0% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); } | |
| 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); } | |
| 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); } | |
| } | |
| @keyframes loadingBar { | |
| 0% { left: -50%; } | |
| 100% { left: 100%; } | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; transform: translateY(20px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| /* Glassmorphism & Premium UI */ | |
| .summary-card, .signal-card, .stats-card { | |
| background: rgba(255, 255, 255, 0.7) ; | |
| backdrop-filter: blur(12px) ; | |
| -webkit-backdrop-filter: blur(12px) ; | |
| border: 1px solid rgba(255, 255, 255, 0.4) ; | |
| box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05) ; | |
| transition: transform 0.3s ease, box-shadow 0.3s ease ; | |
| } | |
| .summary-card:hover, .signal-card:hover, .stats-card:hover { | |
| transform: translateY(-4px) ; | |
| box-shadow: 0 12px 40px rgba(13, 148, 136, 0.15) ; | |
| } | |
| /* Laser Scanning Animation */ | |
| .laser-scan-container { | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .laser-scan-line { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 2px; | |
| background: #2dd4bf; | |
| box-shadow: 0 0 10px #2dd4bf, 0 0 20px #2dd4bf; | |
| z-index: 50; | |
| opacity: 0; | |
| pointer-events: none; | |
| } | |
| .is-scanning .laser-scan-line { | |
| opacity: 1; | |
| animation: scanLaser 2s infinite linear; | |
| } | |
| @keyframes scanLaser { | |
| 0% { top: 0; } | |
| 50% { top: 100%; } | |
| 100% { top: 0; } | |
| } | |
| /* Project Feature Placeholders */ | |
| .feature-placeholder { | |
| padding: 20px; | |
| border-radius: 12px; | |
| background: linear-gradient(135deg, rgba(248, 250, 252, 0.8), rgba(241, 245, 249, 0.8)); | |
| border: 1px dashed #cbd5e1; | |
| margin-bottom: 20px; | |
| text-align: center; | |
| color: #64748b; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .feature-placeholder::before { | |
| content: "Experimental Feature"; | |
| position: absolute; | |
| top: 8px; | |
| right: -25px; | |
| background: #f59e0b; | |
| color: white; | |
| font-size: 10px; | |
| font-weight: 600; | |
| padding: 4px 30px; | |
| transform: rotate(45deg); | |
| } | |
| .feature-placeholder h4 { | |
| color: #334155; | |
| margin-bottom: 8px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 8px; | |
| } | |
| /* --- Theme Toggle Switch --- */ | |
| .theme-toggle-container { | |
| display: flex; | |
| align-items: center; | |
| margin-left: auto; | |
| padding-right: 20px; | |
| } | |
| .theme-switch { | |
| position: relative; | |
| display: inline-block; | |
| width: 50px; | |
| height: 26px; | |
| } | |
| .theme-switch input { | |
| opacity: 0; | |
| width: 0; | |
| height: 0; | |
| } | |
| .slider.round { | |
| position: absolute; | |
| cursor: pointer; | |
| top: 0; left: 0; right: 0; bottom: 0; | |
| background-color: #e2e8f0; | |
| transition: .4s; | |
| border-radius: 34px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 0 5px; | |
| } | |
| .slider.round:before { | |
| position: absolute; | |
| content: ""; | |
| height: 20px; | |
| width: 20px; | |
| left: 3px; | |
| bottom: 3px; | |
| background-color: white; | |
| transition: .4s; | |
| border-radius: 50%; | |
| z-index: 2; | |
| box-shadow: 0 2px 4px rgba(0,0,0,0.2); | |
| } | |
| input:checked + .slider.round { | |
| background-color: #3b82f6; | |
| } | |
| input:checked + .slider.round:before { | |
| transform: translateX(24px); | |
| } | |
| .moon-icon, .sun-icon { | |
| width: 14px; height: 14px; | |
| z-index: 1; | |
| } | |
| .moon-icon { color: #64748b; } | |
| .sun-icon { color: #f59e0b; } | |
| input:checked + .slider.round .moon-icon { color: white; } | |
| /* --- Dark Mode Variables & Overrides --- */ | |
| body.dark-mode { | |
| background: #0f172a; | |
| color: #f1f5f9; | |
| } | |
| body.dark-mode .app-shell { | |
| background: #0f172a; | |
| } | |
| body.dark-mode .topbar, | |
| body.dark-mode .sidebar { | |
| background: rgba(30, 41, 59, 0.8); | |
| border-color: #334155; | |
| } | |
| body.dark-mode .nav-search input { | |
| background: #1e293b; | |
| color: #f8fafc; | |
| border-color: #334155; | |
| } | |
| body.dark-mode .panel, | |
| body.dark-mode .upload-panel, | |
| body.dark-mode .results-panel, | |
| body.dark-mode .explain-panel { | |
| background: rgba(30, 41, 59, 0.7); | |
| border-color: #334155; | |
| box-shadow: 0 4px 6px -1px rgba(0,0,0,0.5); | |
| } | |
| body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode strong { | |
| color: #f8fafc ; | |
| } | |
| body.dark-mode p, body.dark-mode span, body.dark-mode label { | |
| color: #cbd5e1 ; | |
| } | |
| body.dark-mode .stat-value { | |
| color: #38bdf8; | |
| } | |
| body.dark-mode .insight-card { | |
| background: #1e293b; | |
| border-color: #334155; | |
| } | |
| body.dark-mode .tab-btn.active { | |
| background: #3b82f6; | |
| color: #fff ; | |
| } | |
| body.dark-mode .tab-btn { | |
| color: #94a3b8; | |
| } | |
| body.dark-mode .theme-label { | |
| color: #94a3b8 ; | |
| } | |
| body.dark-mode #agreementMapCard { | |
| background: linear-gradient(135deg, rgba(220,38,38,0.15) 0%, rgba(245,158,11,0.15) 100%) ; | |
| border-color: rgba(220,38,38,0.4) ; | |
| } | |
| /* --- AI Copilot Widget --- */ | |
| .copilot-widget { | |
| position: fixed; | |
| bottom: 30px; | |
| right: 30px; | |
| z-index: 1000; | |
| } | |
| .copilot-toggle-btn { | |
| width: 60px; | |
| height: 60px; | |
| border-radius: 50%; | |
| background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| color: white; | |
| border: none; | |
| box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4); | |
| cursor: pointer; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| transition: transform 0.2s, box-shadow 0.2s; | |
| } | |
| .copilot-toggle-btn:hover { | |
| transform: scale(1.05); | |
| box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6); | |
| } | |
| .copilot-window { | |
| position: absolute; | |
| bottom: 75px; | |
| right: 0; | |
| width: 320px; | |
| background: #ffffff; | |
| border-radius: 12px; | |
| box-shadow: 0 10px 25px rgba(0,0,0,0.2); | |
| border: 1px solid #e2e8f0; | |
| overflow: hidden; | |
| display: flex; | |
| flex-direction: column; | |
| animation: slideUp 0.3s ease-out; | |
| } | |
| @keyframes slideUp { | |
| from { opacity: 0; transform: translateY(20px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .copilot-header { | |
| background: #1e293b; | |
| color: white; | |
| padding: 12px 16px; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| font-size: 14px; | |
| } | |
| .copilot-close-btn { | |
| background: none; | |
| border: none; | |
| color: white; | |
| font-size: 18px; | |
| cursor: pointer; | |
| opacity: 0.7; | |
| } | |
| .copilot-close-btn:hover { opacity: 1; } | |
| .copilot-body { | |
| height: 250px; | |
| padding: 16px; | |
| overflow-y: auto; | |
| background: #f8fafc; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 12px; | |
| } | |
| .copilot-msg { | |
| padding: 10px 14px; | |
| border-radius: 12px; | |
| font-size: 13px; | |
| line-height: 1.4; | |
| max-width: 85%; | |
| } | |
| .copilot-msg.bot { | |
| background: #e0e7ff; | |
| color: #1e3a8a; | |
| align-self: flex-start; | |
| border-bottom-left-radius: 2px; | |
| } | |
| .copilot-msg.user { | |
| background: #3b82f6; | |
| color: white; | |
| align-self: flex-end; | |
| border-bottom-right-radius: 2px; | |
| } | |
| .copilot-footer { | |
| padding: 12px; | |
| background: white; | |
| border-top: 1px solid #e2e8f0; | |
| } | |
| .copilot-prompts { | |
| display: flex; | |
| gap: 8px; | |
| flex-wrap: wrap; | |
| } | |
| .copilot-prompt-btn { | |
| background: white; | |
| border: 1px solid #cbd5e1; | |
| color: #475569; | |
| padding: 6px 12px; | |
| border-radius: 20px; | |
| font-size: 11px; | |
| cursor: pointer; | |
| transition: all 0.2s; | |
| } | |
| .copilot-prompt-btn:hover { | |
| background: #f1f5f9; | |
| border-color: #94a3b8; | |
| } | |
| /* Dark mode for Copilot */ | |
| body.dark-mode .copilot-window { | |
| background: #1e293b; | |
| border-color: #334155; | |
| } | |
| body.dark-mode .copilot-body { | |
| background: #0f172a; | |
| } | |
| body.dark-mode .copilot-msg.bot { | |
| background: #334155; | |
| color: #f1f5f9; | |
| } | |
| body.dark-mode .copilot-footer { | |
| background: #1e293b; | |
| border-color: #334155; | |
| } | |
| body.dark-mode .copilot-prompt-btn { | |
| background: #334155; | |
| border-color: #475569; | |
| color: #cbd5e1; | |
| } | |
| /* --- Email Share Modal --- */ | |
| .email-modal { | |
| position: fixed; | |
| top: 0; left: 0; right: 0; bottom: 0; | |
| background: rgba(0,0,0,0.5); | |
| z-index: 2000; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| backdrop-filter: blur(4px); | |
| } | |
| .email-modal-content { | |
| background: white; | |
| padding: 24px; | |
| border-radius: 12px; | |
| width: 350px; | |
| box-shadow: 0 10px 25px rgba(0,0,0,0.2); | |
| animation: modalPop 0.3s ease-out; | |
| } | |
| @keyframes modalPop { | |
| from { opacity: 0; transform: scale(0.95); } | |
| to { opacity: 1; transform: scale(1); } | |
| } | |
| body.dark-mode .email-modal-content { | |
| background: #1e293b; | |
| color: #f1f5f9; | |
| border: 1px solid #334155; | |
| } | |
| body.dark-mode #emailInput { | |
| background: #0f172a; | |
| color: #f1f5f9; | |
| border-color: #334155; | |
| } | |
| /* --- Tri-Netra Enhancement Styles --- */ | |
| .landing-page { | |
| position: fixed; | |
| top: 0; left: 0; right: 0; bottom: 0; | |
| background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%); | |
| z-index: 10000; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| color: white; | |
| padding: 2rem; | |
| overflow-y: auto; | |
| } | |
| .landing-page.hidden { display: none ; } | |
| .landing-header { text-align: center; margin-bottom: 3rem; } | |
| .landing-logo { width: 100px; margin-bottom: 1rem; filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.5)); } | |
| .landing-header h1 { font-size: 3rem; margin: 0; background: linear-gradient(to right, #38bdf8, #818cf8); -webkit-background-clip: text; color: transparent; } | |
| .role-selection { display: flex; gap: 2rem; margin-bottom: 4rem; max-width: 900px; width: 100%; justify-content: center; flex-wrap: wrap; } | |
| .role-card { | |
| background: rgba(30, 41, 59, 0.6); | |
| border: 1px solid rgba(255,255,255,0.1); | |
| border-radius: 24px; | |
| padding: 2.5rem 2rem; | |
| width: 340px; | |
| text-align: center; | |
| cursor: pointer; | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| backdrop-filter: blur(12px); | |
| } | |
| .role-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); border-color: rgba(56, 189, 248, 0.4); background: rgba(30, 41, 59, 0.8); } | |
| .role-icon { font-size: 4rem; margin-bottom: 1rem; } | |
| .role-card h3 { font-size: 1.5rem; margin-bottom: 1rem; } | |
| .role-card p { color: #94a3b8; line-height: 1.6; } | |
| .landing-stats { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; } | |
| .stat-card { text-align: center; padding: 1rem 2rem; background: rgba(0,0,0,0.2); border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); } | |
| .stat-card h3 { font-size: 1.8rem; color: #38bdf8; margin: 0 0 0.5rem 0; } | |
| .stat-card p { color: #64748b; margin: 0; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; } | |
| /* Patient View */ | |
| .patient-view { | |
| min-height: 100vh; | |
| background: linear-gradient(135deg, #f0fdf4 0%, #ccfbf1 100%); | |
| color: #0f172a; | |
| font-family: 'Inter', sans-serif; | |
| } | |
| .patient-nav { | |
| display: flex; justify-content: space-between; align-items: center; | |
| padding: 1.5rem 3rem; background: rgba(255,255,255,0.8); backdrop-filter: blur(10px); | |
| box-shadow: 0 4px 20px rgba(0,0,0,0.05); | |
| } | |
| .patient-nav .brand { font-size: 1.5rem; font-weight: 700; color: #0f766e; } | |
| .lang-selector select { padding: 0.5rem; border-radius: 8px; border: 1px solid #cbd5e1; outline: none; margin-right: 1rem; } | |
| .patient-content { max-width: 800px; margin: 4rem auto; padding: 0 2rem; } | |
| .patient-content h2 { font-size: 2.5rem; color: #0f766e; margin-bottom: 0.5rem; } | |
| .patient-content > p { font-size: 1.2rem; color: #475569; margin-bottom: 3rem; } | |
| .patient-upload-zone { | |
| border: 3px dashed #5eead4; border-radius: 24px; padding: 4rem 2rem; text-align: center; | |
| background: rgba(255,255,255,0.5); transition: all 0.3s; | |
| } | |
| .patient-upload-zone:hover { background: rgba(255,255,255,0.8); border-color: #0f766e; } | |
| .result-card { | |
| background: white; border-radius: 24px; padding: 2rem; margin-bottom: 2rem; | |
| box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.02); | |
| } | |
| .result-card h3 { margin-top: 0; font-size: 1.4rem; color: #0f172a; border-bottom: 2px solid #f1f5f9; padding-bottom: 1rem; margin-bottom: 1.5rem; } | |
| .result-card p { font-size: 1.1rem; line-height: 1.7; color: #334155; } | |
| .status-positive { border-left: 6px solid #ef4444; } | |
| .status-negative { border-left: 6px solid #10b981; } | |
| .risk-bar-container { height: 12px; background: #e2e8f0; border-radius: 6px; margin: 1.5rem 0; overflow: hidden; } | |
| .risk-bar { height: 100%; width: 0%; border-radius: 6px; transition: width 1s ease-in-out; } | |
| .risk-low { background: #10b981; } | |
| .risk-med { background: #f59e0b; } | |
| .risk-high { background: #ef4444; } | |
| .checklist { list-style: none; padding: 0; margin: 1.5rem 0; } | |
| .checklist li { margin-bottom: 1rem; font-size: 1.1rem; display: flex; align-items: center; color: #475569; } | |
| .checklist input { margin-right: 15px; width: 20px; height: 20px; accent-color: #0f766e; } | |
| .patient-chat-card { | |
| background: white; border-radius: 24px; padding: 2rem; | |
| box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-top: 2rem; | |
| } | |
| .chat-window { height: 200px; overflow-y: auto; background: #f8fafc; border-radius: 12px; padding: 1rem; margin-bottom: 1rem; border: 1px solid #e2e8f0; } | |
| .chat-input-area { display: flex; gap: 10px; } | |
| .chat-input-area input { flex: 1; padding: 1rem; border-radius: 12px; border: 1px solid #cbd5e1; outline: none; font-size: 1rem; } | |
| .chat-msg { margin-bottom: 10px; padding: 10px 15px; border-radius: 12px; max-width: 80%; } | |
| .chat-user { background: #0f766e; color: white; margin-left: auto; border-bottom-right-radius: 2px; } | |
| .chat-ai { background: #e2e8f0; color: #0f172a; margin-right: auto; border-bottom-left-radius: 2px; } | |
| /* Doctor view gradient updates */ | |
| #doctor-view { | |
| background: linear-gradient(135deg, #09090b 0%, #1e1b4b 100%); | |
| } | |
| .app-footer { | |
| text-align: center; padding: 2rem; color: #64748b; font-size: 0.85rem; | |
| border-top: 1px solid rgba(255,255,255,0.05); margin-top: 2rem; | |
| } | |
| .patient-view .app-footer { border-top: 1px solid rgba(0,0,0,0.05); } | |
| /* Force standard elements to look better */ | |
| .btn-large { font-size: 1.2rem; padding: 1rem 2rem; border-radius: 12px; } | |
| .btn-primary { background: #0f766e; border: none; color: white; cursor: pointer; border-radius: 8px; padding: 0.8rem 1.5rem; font-weight: 600; } | |
| .btn-outline { background: transparent; border: 2px solid #0f766e; color: #0f766e; cursor: pointer; border-radius: 8px; padding: 0.5rem 1rem; font-weight: 600; } | |
| /* Risk Badge */ | |
| .risk-badge { | |
| display: inline-block; | |
| padding: 8px 16px; | |
| border-radius: 20px; | |
| color: white; | |
| font-weight: 600; | |
| font-size: 14px; | |
| box-shadow: 0 4px 6px rgba(0,0,0,0.1); | |
| transition: all 0.3s ease; | |
| } | |
| /* Magic Pink Mode */ | |
| body.magic-pink-mode { background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%) ; color: #880e4f ; } | |
| body.magic-pink-mode .dashboard-container { background: rgba(255, 255, 255, 0.7) ; box-shadow: 0 8px 32px rgba(233, 30, 99, 0.15) ; } | |
| body.magic-pink-mode .glass-panel { background: rgba(255, 240, 245, 0.9) ; border-color: #f48fb1 ; color: #880e4f ; } | |
| body.magic-pink-mode .btn-primary { background: linear-gradient(135deg, #e91e63, #c2185b) ; border: none ; color: white ; } | |
| body.magic-pink-mode .metric-card { background: rgba(255, 255, 255, 0.8) ; border: 1px solid #f06292 ; box-shadow: 0 4px 15px rgba(233, 30, 99, 0.2) ; color: #880e4f ; } | |
| body.magic-pink-mode .metric-value { color: #d81b60 ; } | |
| body.magic-pink-mode h1, body.magic-pink-mode h2, body.magic-pink-mode h3 { color: #c2185b ; } | |