diff --git a/dashboard.css b/dashboard.css index f029cec..d37dd7b 100644 --- a/dashboard.css +++ b/dashboard.css @@ -1,19 +1,119 @@ -/* --- WORLD-CLASS ZEN 3.0 DESIGN SYSTEM --- */ -.doctor-zen-section { - padding: 3rem; - max-width: 1400px; - margin: 0 auto; - background: #F1F5F9; +/* --- CURIO MASTER DESIGN SYSTEM --- */ +:root { + --primary: #0F172A; + --secondary: #3B82F6; + --accent: #10B981; + --urgent: #EF4444; + --bg: #F8FAFC; + --sidebar-bg: #0F172A; + --border: #E2E8F0; + --text-main: #1E293B; + --text-muted: #64748B; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Inter', sans-serif; + background-color: var(--bg); + color: var(--text-main); +} + +/* Layout Foundation */ +.dashboard-body { + display: flex; min-height: 100vh; } -.zen-layout { - display: grid; - grid-template-columns: 320px 1fr; - gap: 3rem; +.sidebar { + width: 280px; + background: var(--sidebar-bg); + color: white; + padding: 2rem; + display: flex; + flex-direction: column; + position: fixed; + height: 100vh; } -/* Patient Info Slab */ +.dashboard-main { + margin-left: 280px; + flex: 1; + padding: 2rem; +} + +/* Sidebar Styling */ +.logo { + display: flex; + align-items: center; + gap: 0.75rem; + margin-bottom: 3rem; +} + +.logo-icon { + width: 32px; + height: 32px; + background: var(--secondary); + border-radius: 8px; + display: flex; + align-items: center; + justify-content: center; + font-weight: 700; +} + +.side-nav { + display: flex; + flex-direction: column; + gap: 0.5rem; +} + +.side-nav a { + display: flex; + align-items: center; + gap: 0.75rem; + padding: 0.75rem 1rem; + color: #94A3B8; + text-decoration: none; + border-radius: 12px; + transition: all 0.2s; + font-weight: 500; +} + +.side-nav a:hover, .side-nav a.active { + background: rgba(255, 255, 255, 0.05); + color: white; +} + +.user-profile { + margin-top: auto; + padding-top: 2rem; + border-top: 1px solid rgba(255, 255, 255, 0.1); +} + +/* Global Component Classes */ +.btn-primary { + background: var(--secondary); + color: white; + padding: 0.75rem 1.5rem; + border-radius: 12px; + border: none; + font-weight: 600; + cursor: pointer; +} + +.stat-card { + background: white; + padding: 1.5rem; + border-radius: 20px; + box-shadow: 0 4px 12px rgba(0,0,0,0.03); + border: 1px solid var(--border); +} + +/* --- WORLD-CLASS ZEN 3.0 & ADMIN ADD-ONS --- */ .patient-info-slab { background: white; padding: 2.5rem; @@ -30,30 +130,8 @@ font-size: 2.8rem; font-family: 'Outfit', sans-serif; color: #0F172A; - margin-bottom: 0.5rem; - letter-spacing: -0.03em; } -.patient-identity .meta-pills { - display: flex; - gap: 0.75rem; - align-items: center; -} - -.pill { - padding: 0.5rem 1rem; - border-radius: 100px; - font-size: 0.85rem; - font-weight: 700; - text-transform: uppercase; - letter-spacing: 0.05em; -} - -.pill.active { background: #DCFCE7; color: #15803D; } -.pill.triage { background: #FEE2E2; color: #B91C1C; } -.pill.time { background: #F1F5F9; color: #64748B; } - -/* Action Center */ .action-center { display: flex; gap: 1rem; @@ -67,31 +145,22 @@ padding: 0 1.8rem; border-radius: 16px; font-weight: 700; - font-size: 1rem; display: flex; align-items: center; gap: 0.8rem; border: none; cursor: pointer; - transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } -.btn-zen.scribe { - background: #0EA5E9; color: white; - box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3); -} +.btn-zen.scribe { background: #0EA5E9; color: white; } .btn-zen.history { background: white; color: #475569; border: 1px solid #E2E8F0; } .btn-zen.start { background: #0F172A; color: white; } -.btn-zen:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); } - -/* Note Canvas */ .note-canvas-container { background: white; border-radius: 40px; padding: 3rem; box-shadow: 0 10px 50px rgba(0,0,0,0.02); - border: 1px solid #F1F5F9; } .zen-textarea { @@ -100,39 +169,71 @@ border: none; font-size: 1.3rem; line-height: 1.8; - color: #334155; - font-family: 'Inter', sans-serif; - resize: none; - background: transparent; } -.zen-textarea:focus { outline: none; } - -/* Scribe Pulse */ -.scribe-status-bar { +/* Admin Specific */ +.health-indicator { display: flex; align-items: center; gap: 1rem; - margin-bottom: 1.5rem; - padding: 1rem 2rem; - background: #F0F9FF; + background: #ECFDF5; + padding: 0.75rem 1.5rem; border-radius: 100px; - width: fit-content; - color: #0369a1; - font-weight: 600; - font-size: 0.9rem; + color: #059669; + font-weight: 700; } -.pulse-dot { - width: 12px; - height: 12px; - background: #0EA5E9; +.pulse { + width: 10px; + height: 10px; + background: #10B981; border-radius: 50%; - animation: scribePulse 1.5s infinite; + animation: pulse-ring 1.5s infinite; } -@keyframes scribePulse { - 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); } - 70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(14, 165, 233, 0); } - 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); } +@keyframes pulse-ring { + 0% { transform: scale(.8); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } + 70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } + 100% { transform: scale(.8); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } } + +/* Zen Grid & Sidebar */ +.zen-grid { + display: grid; + grid-template-columns: 1fr 350px; + gap: 2rem; +} + +.insight-card, .ai-nudge-box { + background: white; + border-radius: 20px; + padding: 1.5rem; + box-shadow: 0 4px 20px rgba(0,0,0,0.05); +} + +.vitals-grid { + display: grid; + grid-template-columns: repeat(3, 1fr); + gap: 1rem; +} + +.vital-item { + display: flex; + flex-direction: column; + align-items: center; + padding: 0.75rem; + background: #f8fafc; + border-radius: 12px; +} + +.allergy-tag { + margin-top: 1rem; + padding: 0.5rem 1rem; + background: #fff1f2; + color: #e11d48; + border-radius: 10px; + text-align: center; +} + +/* Utility Hidden */ +.hidden { display: none !important; }