Spaces:
Runtime error
Runtime error
Initial commit for OJOS AI: Multiclass model integration, Keras 3 compatibility patch, and glassmorphism styling
1d4eab2 | /* ========================================================= | |
| OJOS AI β Unified Design System | |
| Dark Glassmorphism | Premium Medical UI | |
| ========================================================= */ | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap'); | |
| /* ββ Reset & Base ββ */ | |
| *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } | |
| :root { | |
| --bg-base: #050810; | |
| --bg-card: rgba(255,255,255,0.04); | |
| --bg-card-hover: rgba(255,255,255,0.07); | |
| --border: rgba(255,255,255,0.08); | |
| --border-hover: rgba(99,202,183,0.35); | |
| --accent: #63cab7; | |
| --accent2: #4f9cf9; | |
| --accent-glow: rgba(99,202,183,0.18); | |
| --text-primary: #f0f4f8; | |
| --text-muted: #8899aa; | |
| --text-dim: #4a5568; | |
| --danger: #ef4444; | |
| --warning: #f59e0b; | |
| --success: #10b981; | |
| --info: #3b82f6; | |
| --radius: 16px; | |
| --radius-sm: 10px; | |
| --shadow: 0 8px 32px rgba(0,0,0,0.45); | |
| --shadow-glow: 0 0 40px rgba(99,202,183,0.12); | |
| --font: 'Inter', sans-serif; | |
| --font-display: 'Space Grotesk', sans-serif; | |
| --transition: 0.25s cubic-bezier(0.4,0,0.2,1); | |
| } | |
| html { scroll-behavior: smooth; } | |
| body { | |
| font-family: var(--font); | |
| background: var(--bg-base); | |
| color: var(--text-primary); | |
| min-height: 100vh; | |
| line-height: 1.6; | |
| overflow-x: hidden; | |
| } | |
| /* Animated background mesh */ | |
| body::before { | |
| content: ''; | |
| position: fixed; | |
| inset: 0; | |
| background: | |
| radial-gradient(ellipse 80% 50% at 20% 10%, rgba(99,202,183,0.07) 0%, transparent 60%), | |
| radial-gradient(ellipse 60% 40% at 80% 90%, rgba(79,156,249,0.06) 0%, transparent 60%), | |
| radial-gradient(ellipse 40% 30% at 60% 40%, rgba(139,92,246,0.04) 0%, transparent 60%); | |
| pointer-events: none; | |
| z-index: 0; | |
| } | |
| /* ββ Scrollbar ββ */ | |
| ::-webkit-scrollbar { width: 6px; } | |
| ::-webkit-scrollbar-track { background: var(--bg-base); } | |
| ::-webkit-scrollbar-thumb { background: rgba(99,202,183,0.3); border-radius: 3px; } | |
| /* ββ Typography ββ */ | |
| h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; } | |
| a { color: var(--accent); text-decoration: none; transition: color var(--transition); } | |
| a:hover { color: #fff; } | |
| /* ββ Glass Card ββ */ | |
| .glass { | |
| background: var(--bg-card); | |
| backdrop-filter: blur(20px); | |
| -webkit-backdrop-filter: blur(20px); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius); | |
| transition: all var(--transition); | |
| } | |
| .glass:hover { | |
| background: var(--bg-card-hover); | |
| border-color: var(--border-hover); | |
| box-shadow: var(--shadow-glow); | |
| } | |
| /* ββ Navbar ββ */ | |
| .navbar { | |
| position: sticky; | |
| top: 0; | |
| z-index: 1000; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| padding: 0 2rem; | |
| height: 68px; | |
| background: rgba(5,8,16,0.75); | |
| backdrop-filter: blur(20px); | |
| -webkit-backdrop-filter: blur(20px); | |
| border-bottom: 1px solid var(--border); | |
| } | |
| .navbar-brand { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.75rem; | |
| font-family: var(--font-display); | |
| font-size: 1.25rem; | |
| font-weight: 700; | |
| color: var(--text-primary); | |
| } | |
| .navbar-brand .logo-img { | |
| width: 38px; | |
| height: 38px; | |
| border-radius: 10px; | |
| object-fit: cover; | |
| border: 1px solid var(--border); | |
| } | |
| .brand-dot { color: var(--accent); } | |
| .navbar-links { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.25rem; | |
| list-style: none; | |
| } | |
| .navbar-links a { | |
| padding: 0.45rem 0.9rem; | |
| border-radius: var(--radius-sm); | |
| font-size: 0.9rem; | |
| font-weight: 500; | |
| color: var(--text-muted); | |
| transition: all var(--transition); | |
| } | |
| .navbar-links a:hover, | |
| .navbar-links a.active { color: var(--text-primary); background: var(--bg-card); } | |
| .btn-nav { | |
| padding: 0.45rem 1.1rem ; | |
| background: linear-gradient(135deg, var(--accent), #4a9d8a) ; | |
| color: #050810 ; | |
| font-weight: 600 ; | |
| border-radius: var(--radius-sm) ; | |
| } | |
| .btn-nav:hover { opacity: 0.9; transform: translateY(-1px); } | |
| /* ββ Flash Messages ββ */ | |
| .flashes { padding: 0 2rem; margin-top: 1rem; position: relative; z-index: 10; } | |
| .alert { | |
| padding: 0.85rem 1.25rem; | |
| border-radius: var(--radius-sm); | |
| font-size: 0.9rem; | |
| font-weight: 500; | |
| border: 1px solid; | |
| margin-bottom: 0.5rem; | |
| backdrop-filter: blur(10px); | |
| } | |
| .alert-success { background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.3); color: #6ee7b7; } | |
| .alert-danger { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.3); color: #fca5a5; } | |
| .alert-warning { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.3); color: #fcd34d; } | |
| .alert-info { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.3); color: #93c5fd; } | |
| /* ββ Buttons ββ */ | |
| .btn { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| padding: 0.75rem 1.75rem; | |
| border-radius: var(--radius-sm); | |
| font-family: var(--font); | |
| font-size: 0.95rem; | |
| font-weight: 600; | |
| cursor: pointer; | |
| border: none; | |
| transition: all var(--transition); | |
| text-decoration: none; | |
| } | |
| .btn-primary { | |
| background: linear-gradient(135deg, var(--accent) 0%, #4a9d8a 100%); | |
| color: #050810; | |
| box-shadow: 0 4px 20px rgba(99,202,183,0.25); | |
| } | |
| .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99,202,183,0.35); color: #050810; } | |
| .btn-outline { | |
| background: transparent; | |
| color: var(--text-primary); | |
| border: 1px solid var(--border-hover); | |
| } | |
| .btn-outline:hover { background: var(--bg-card); } | |
| /* ββ Hero Section ββ */ | |
| .hero { | |
| position: relative; | |
| z-index: 1; | |
| min-height: calc(100vh - 68px); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| text-align: center; | |
| padding: 4rem 2rem; | |
| } | |
| .hero-inner { max-width: 820px; } | |
| .hero-badge { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| padding: 0.4rem 1rem; | |
| background: rgba(99,202,183,0.1); | |
| border: 1px solid rgba(99,202,183,0.25); | |
| border-radius: 100px; | |
| font-size: 0.8rem; | |
| font-weight: 600; | |
| color: var(--accent); | |
| margin-bottom: 2rem; | |
| letter-spacing: 0.05em; | |
| text-transform: uppercase; | |
| } | |
| .hero h1 { | |
| font-size: clamp(2.4rem, 6vw, 4rem); | |
| font-weight: 800; | |
| margin-bottom: 1.5rem; | |
| background: linear-gradient(135deg, #fff 0%, var(--accent) 50%, var(--accent2) 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| line-height: 1.1; | |
| } | |
| .hero p { | |
| font-size: 1.15rem; | |
| color: var(--text-muted); | |
| max-width: 600px; | |
| margin: 0 auto 2.5rem; | |
| line-height: 1.7; | |
| } | |
| .hero-cta { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 1rem; | |
| flex-wrap: wrap; | |
| } | |
| /* ββ Stats Bar ββ */ | |
| .stats-bar { | |
| position: relative; | |
| z-index: 1; | |
| display: flex; | |
| justify-content: center; | |
| gap: 2rem; | |
| padding: 2rem; | |
| flex-wrap: wrap; | |
| } | |
| .stat-item { | |
| text-align: center; | |
| padding: 1.5rem 2rem; | |
| border-radius: var(--radius); | |
| background: var(--bg-card); | |
| border: 1px solid var(--border); | |
| min-width: 150px; | |
| transition: all var(--transition); | |
| } | |
| .stat-item:hover { border-color: var(--border-hover); transform: translateY(-4px); } | |
| .stat-number { | |
| font-family: var(--font-display); | |
| font-size: 2rem; | |
| font-weight: 800; | |
| color: var(--accent); | |
| display: block; | |
| } | |
| .stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; margin-top: 0.25rem; } | |
| /* ββ Features Section ββ */ | |
| .section { | |
| position: relative; | |
| z-index: 1; | |
| padding: 5rem 2rem; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| } | |
| .section-title { | |
| text-align: center; | |
| font-size: clamp(1.8rem, 4vw, 2.5rem); | |
| font-weight: 700; | |
| margin-bottom: 0.75rem; | |
| } | |
| .section-sub { | |
| text-align: center; | |
| color: var(--text-muted); | |
| font-size: 1rem; | |
| margin-bottom: 3rem; | |
| } | |
| .accent { color: var(--accent); } | |
| .feature-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); | |
| gap: 1.5rem; | |
| } | |
| .feature-card { | |
| padding: 2rem; | |
| border-radius: var(--radius); | |
| background: var(--bg-card); | |
| border: 1px solid var(--border); | |
| transition: all var(--transition); | |
| } | |
| .feature-card:hover { | |
| border-color: var(--border-hover); | |
| transform: translateY(-5px); | |
| box-shadow: var(--shadow-glow); | |
| } | |
| .feature-icon { | |
| width: 48px; | |
| height: 48px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| background: rgba(99,202,183,0.1); | |
| border-radius: 12px; | |
| font-size: 1.5rem; | |
| margin-bottom: 1rem; | |
| } | |
| .feature-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; } | |
| .feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; } | |
| /* ββ Footer ββ */ | |
| .footer { | |
| position: relative; | |
| z-index: 1; | |
| border-top: 1px solid var(--border); | |
| padding: 3rem 2rem 2rem; | |
| text-align: center; | |
| } | |
| .footer-links { | |
| display: flex; | |
| justify-content: center; | |
| gap: 2rem; | |
| margin-bottom: 1.5rem; | |
| flex-wrap: wrap; | |
| } | |
| .footer-links a { color: var(--text-muted); font-size: 0.9rem; } | |
| .footer-links a:hover { color: var(--accent); } | |
| .footer-copy { color: var(--text-dim); font-size: 0.82rem; } | |
| .footer-copy span { color: var(--accent); } | |
| /* ββ Auth Pages ββ */ | |
| .auth-page { | |
| position: relative; | |
| z-index: 1; | |
| min-height: calc(100vh - 68px); | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| padding: 2rem; | |
| } | |
| .auth-container { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| width: 100%; | |
| max-width: 900px; | |
| background: var(--bg-card); | |
| border: 1px solid var(--border); | |
| border-radius: 24px; | |
| overflow: hidden; | |
| box-shadow: var(--shadow); | |
| } | |
| .auth-panel-left { | |
| background: linear-gradient(135deg, rgba(99,202,183,0.12) 0%, rgba(79,156,249,0.08) 100%); | |
| border-right: 1px solid var(--border); | |
| padding: 3rem 2rem; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| text-align: center; | |
| } | |
| .auth-panel-left .eye-icon { font-size: 5rem; margin-bottom: 1.5rem; filter: drop-shadow(0 0 20px rgba(99,202,183,0.4)); } | |
| .auth-panel-left h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem; } | |
| .auth-panel-left p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; } | |
| .auth-stats { | |
| display: flex; | |
| gap: 1.5rem; | |
| margin-top: 2rem; | |
| flex-wrap: wrap; | |
| justify-content: center; | |
| } | |
| .auth-stat { text-align: center; } | |
| .auth-stat strong { display: block; font-size: 1.3rem; color: var(--accent); font-family: var(--font-display); } | |
| .auth-stat span { font-size: 0.75rem; color: var(--text-muted); } | |
| .auth-panel-right { padding: 3rem 2.5rem; } | |
| .auth-tabs { | |
| display: flex; | |
| gap: 0; | |
| background: rgba(255,255,255,0.04); | |
| border-radius: var(--radius-sm); | |
| padding: 4px; | |
| margin-bottom: 2rem; | |
| } | |
| .auth-tab { | |
| flex: 1; | |
| padding: 0.6rem; | |
| border: none; | |
| background: transparent; | |
| color: var(--text-muted); | |
| font-size: 0.9rem; | |
| font-weight: 600; | |
| cursor: pointer; | |
| border-radius: 8px; | |
| transition: all var(--transition); | |
| font-family: var(--font); | |
| } | |
| .auth-tab.active { background: var(--accent); color: #050810; } | |
| .auth-form { display: none; } | |
| .auth-form.active { display: block; } | |
| .auth-form h3 { font-size: 1.3rem; margin-bottom: 0.4rem; } | |
| .auth-form p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem; } | |
| .form-group { margin-bottom: 1.1rem; } | |
| .form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.05em; } | |
| .form-group input { | |
| width: 100%; | |
| padding: 0.75rem 1rem; | |
| background: rgba(255,255,255,0.05); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-sm); | |
| color: var(--text-primary); | |
| font-size: 0.95rem; | |
| font-family: var(--font); | |
| transition: all var(--transition); | |
| outline: none; | |
| } | |
| .form-group input:focus { | |
| border-color: var(--accent); | |
| background: rgba(99,202,183,0.06); | |
| box-shadow: 0 0 0 3px rgba(99,202,183,0.12); | |
| } | |
| .form-group input::placeholder { color: var(--text-dim); } | |
| .btn-auth { | |
| width: 100%; | |
| padding: 0.8rem; | |
| background: linear-gradient(135deg, var(--accent) 0%, #4a9d8a 100%); | |
| color: #050810; | |
| font-weight: 700; | |
| font-size: 0.95rem; | |
| border: none; | |
| border-radius: var(--radius-sm); | |
| cursor: pointer; | |
| font-family: var(--font); | |
| transition: all var(--transition); | |
| margin-top: 0.5rem; | |
| letter-spacing: 0.02em; | |
| } | |
| .btn-auth:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(99,202,183,0.3); } | |
| /* ββ Prediction Page ββ */ | |
| .prediction-page { | |
| position: relative; | |
| z-index: 1; | |
| max-width: 900px; | |
| margin: 0 auto; | |
| padding: 3rem 2rem; | |
| } | |
| .page-header { text-align: center; margin-bottom: 2.5rem; } | |
| .page-header h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 0.5rem; } | |
| .page-header p { color: var(--text-muted); } | |
| /* Upload Zone */ | |
| .upload-zone { | |
| padding: 2.5rem; | |
| border-radius: var(--radius); | |
| background: var(--bg-card); | |
| border: 2px dashed var(--border); | |
| transition: all var(--transition); | |
| margin-bottom: 2rem; | |
| } | |
| .upload-zone:hover { border-color: var(--accent); background: rgba(99,202,183,0.04); } | |
| .upload-zone h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 1.5rem; text-align: center; } | |
| .drop-area { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 0.75rem; | |
| padding: 2.5rem 1rem; | |
| border-radius: var(--radius-sm); | |
| background: rgba(255,255,255,0.02); | |
| border: 1px solid var(--border); | |
| cursor: pointer; | |
| transition: all var(--transition); | |
| text-align: center; | |
| } | |
| .drop-area:hover { border-color: var(--border-hover); background: rgba(99,202,183,0.04); } | |
| .drop-icon { font-size: 3rem; } | |
| .drop-text { font-size: 1rem; font-weight: 500; } | |
| .drop-sub { font-size: 0.8rem; color: var(--text-muted); } | |
| #retina_image { display: none; } | |
| .upload-actions { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| margin-top: 1.25rem; | |
| gap: 1rem; | |
| flex-wrap: wrap; | |
| } | |
| #selected-file { font-size: 0.85rem; color: var(--text-muted); flex: 1; } | |
| #selected-file.has-file { color: var(--accent); } | |
| /* Preview */ | |
| .img-preview { | |
| margin-top: 1rem; | |
| text-align: center; | |
| display: none; | |
| } | |
| .img-preview img { | |
| max-height: 220px; | |
| max-width: 100%; | |
| border-radius: var(--radius-sm); | |
| border: 1px solid var(--border); | |
| object-fit: contain; | |
| } | |
| .img-preview.active { display: block; } | |
| /* Loading Overlay */ | |
| .loading-overlay { | |
| display: none; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 1rem; | |
| padding: 2rem; | |
| text-align: center; | |
| } | |
| .loading-overlay.active { display: flex; } | |
| .spinner { | |
| width: 48px; height: 48px; | |
| border: 4px solid var(--border); | |
| border-top-color: var(--accent); | |
| border-radius: 50%; | |
| animation: spin 0.8s linear infinite; | |
| } | |
| @keyframes spin { to { transform: rotate(360deg); } } | |
| /* Result Card */ | |
| .result-card { | |
| border-radius: var(--radius); | |
| overflow: hidden; | |
| border: 1px solid var(--border); | |
| background: var(--bg-card); | |
| animation: fadeUp 0.5s ease; | |
| } | |
| @keyframes fadeUp { | |
| from { opacity: 0; transform: translateY(20px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .result-header { | |
| padding: 1.75rem 2rem; | |
| display: flex; | |
| align-items: center; | |
| gap: 1rem; | |
| border-bottom: 1px solid var(--border); | |
| } | |
| .result-emoji { font-size: 2.5rem; } | |
| .result-title { font-size: 1.5rem; font-weight: 700; } | |
| .result-confidence { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.2rem; } | |
| .result-confidence strong { color: var(--accent); } | |
| .result-body { padding: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; } | |
| @media(max-width: 640px) { .result-body { grid-template-columns: 1fr; } } | |
| .result-section h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); font-weight: 600; margin-bottom: 0.75rem; } | |
| .advice-text { font-size: 0.92rem; color: var(--text-primary); line-height: 1.7; background: rgba(255,255,255,0.03); padding: 1rem; border-radius: var(--radius-sm); border: 1px solid var(--border); } | |
| .tips-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; } | |
| .tips-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: var(--text-muted); } | |
| .tips-list li::before { content: 'β'; color: var(--accent); flex-shrink: 0; font-weight: 700; } | |
| /* Prob Bars */ | |
| .prob-bars { display: flex; flex-direction: column; gap: 0.6rem; } | |
| .prob-row { display: flex; align-items: center; gap: 0.75rem; } | |
| .prob-label { font-size: 0.78rem; color: var(--text-muted); width: 130px; flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .prob-bar-wrap { flex: 1; height: 8px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; } | |
| .prob-bar { height: 100%; border-radius: 4px; transition: width 1s ease; } | |
| .prob-val { font-size: 0.78rem; font-weight: 600; width: 42px; text-align: right; flex-shrink: 0; } | |
| /* Uploaded image in result */ | |
| .result-img { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); grid-column: 1 / -1; } | |
| .result-img img { width: 100%; max-height: 250px; object-fit: contain; background: rgba(0,0,0,0.2); display: block; } | |
| /* Disclaimer */ | |
| .disclaimer { | |
| margin-top: 1.5rem; | |
| padding: 1rem 1.25rem; | |
| background: rgba(245,158,11,0.06); | |
| border: 1px solid rgba(245,158,11,0.2); | |
| border-radius: var(--radius-sm); | |
| font-size: 0.83rem; | |
| color: #fcd34d; | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 0.5rem; | |
| } | |
| /* ββ About Page ββ */ | |
| .about-page { | |
| position: relative; | |
| z-index: 1; | |
| max-width: 900px; | |
| margin: 0 auto; | |
| padding: 3rem 2rem; | |
| } | |
| .content-card { | |
| padding: 2rem; | |
| border-radius: var(--radius); | |
| background: var(--bg-card); | |
| border: 1px solid var(--border); | |
| margin-bottom: 1.5rem; | |
| } | |
| .content-card h2 { font-size: 1.25rem; margin-bottom: 1rem; } | |
| .content-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; } | |
| .content-card ul { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; padding-left: 1.25rem; } | |
| .content-card ul li { margin-bottom: 0.4rem; } | |
| .content-card ul li strong { color: var(--text-primary); } | |
| .tech-grid-about { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; margin-top: 1rem; } | |
| .tech-badge { | |
| padding: 0.6rem 1rem; | |
| background: rgba(255,255,255,0.04); | |
| border: 1px solid var(--border); | |
| border-radius: var(--radius-sm); | |
| font-size: 0.85rem; | |
| color: var(--text-muted); | |
| } | |
| .tech-badge strong { color: var(--accent); display: block; margin-bottom: 0.2rem; } | |
| /* ββ Diseases Page ββ */ | |
| .diseases-page { | |
| position: relative; | |
| z-index: 1; | |
| max-width: 1100px; | |
| margin: 0 auto; | |
| padding: 3rem 2rem; | |
| } | |
| .disease-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; } | |
| .disease-card { | |
| padding: 2rem; | |
| border-radius: var(--radius); | |
| background: var(--bg-card); | |
| border: 1px solid var(--border); | |
| border-top: 3px solid; | |
| transition: all var(--transition); | |
| } | |
| .disease-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-glow); border-color: var(--border-hover); } | |
| .disease-card .d-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; } | |
| .disease-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.75rem; } | |
| .disease-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; } | |
| /* ββ Responsive ββ */ | |
| @media (max-width: 768px) { | |
| .auth-container { grid-template-columns: 1fr; } | |
| .auth-panel-left { display: none; } | |
| .navbar-links { display: none; } | |
| .stats-bar { gap: 1rem; } | |
| .stat-item { min-width: 120px; padding: 1rem 1.25rem; } | |
| } | |