fix: restore and unify master design system (v17)
Build Curio HMS / build-and-deploy (push) Has been cancelled Details

This commit is contained in:
Deep Koluguri 2026-05-15 14:45:31 -04:00
parent 28bc4b77bc
commit 14364d8466
1 changed files with 168 additions and 67 deletions

View File

@ -1,19 +1,119 @@
/* --- WORLD-CLASS ZEN 3.0 DESIGN SYSTEM --- */ /* --- CURIO MASTER DESIGN SYSTEM --- */
.doctor-zen-section { :root {
padding: 3rem; --primary: #0F172A;
max-width: 1400px; --secondary: #3B82F6;
margin: 0 auto; --accent: #10B981;
background: #F1F5F9; --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; min-height: 100vh;
} }
.zen-layout { .sidebar {
display: grid; width: 280px;
grid-template-columns: 320px 1fr; background: var(--sidebar-bg);
gap: 3rem; 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 { .patient-info-slab {
background: white; background: white;
padding: 2.5rem; padding: 2.5rem;
@ -30,30 +130,8 @@
font-size: 2.8rem; font-size: 2.8rem;
font-family: 'Outfit', sans-serif; font-family: 'Outfit', sans-serif;
color: #0F172A; 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 { .action-center {
display: flex; display: flex;
gap: 1rem; gap: 1rem;
@ -67,31 +145,22 @@
padding: 0 1.8rem; padding: 0 1.8rem;
border-radius: 16px; border-radius: 16px;
font-weight: 700; font-weight: 700;
font-size: 1rem;
display: flex; display: flex;
align-items: center; align-items: center;
gap: 0.8rem; gap: 0.8rem;
border: none; border: none;
cursor: pointer; cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
} }
.btn-zen.scribe { .btn-zen.scribe { background: #0EA5E9; color: white; }
background: #0EA5E9; color: white;
box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}
.btn-zen.history { background: white; color: #475569; border: 1px solid #E2E8F0; } .btn-zen.history { background: white; color: #475569; border: 1px solid #E2E8F0; }
.btn-zen.start { background: #0F172A; color: white; } .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 { .note-canvas-container {
background: white; background: white;
border-radius: 40px; border-radius: 40px;
padding: 3rem; padding: 3rem;
box-shadow: 0 10px 50px rgba(0,0,0,0.02); box-shadow: 0 10px 50px rgba(0,0,0,0.02);
border: 1px solid #F1F5F9;
} }
.zen-textarea { .zen-textarea {
@ -100,39 +169,71 @@
border: none; border: none;
font-size: 1.3rem; font-size: 1.3rem;
line-height: 1.8; line-height: 1.8;
color: #334155;
font-family: 'Inter', sans-serif;
resize: none;
background: transparent;
} }
.zen-textarea:focus { outline: none; } /* Admin Specific */
.health-indicator {
/* Scribe Pulse */
.scribe-status-bar {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 1rem; gap: 1rem;
margin-bottom: 1.5rem; background: #ECFDF5;
padding: 1rem 2rem; padding: 0.75rem 1.5rem;
background: #F0F9FF;
border-radius: 100px; border-radius: 100px;
width: fit-content; color: #059669;
color: #0369a1; font-weight: 700;
font-weight: 600;
font-size: 0.9rem;
} }
.pulse-dot { .pulse {
width: 12px; width: 10px;
height: 12px; height: 10px;
background: #0EA5E9; background: #10B981;
border-radius: 50%; border-radius: 50%;
animation: scribePulse 1.5s infinite; animation: pulse-ring 1.5s infinite;
} }
@keyframes scribePulse { @keyframes pulse-ring {
0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); } 0% { transform: scale(.8); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(14, 165, 233, 0); } 70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14, 165, 233, 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; }