curaflow/dashboard.css

240 lines
4.5 KiB
CSS

/* --- 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;
}
.sidebar {
width: 280px;
background: var(--sidebar-bg);
color: white;
padding: 2rem;
display: flex;
flex-direction: column;
position: fixed;
height: 100vh;
}
.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;
border-radius: 32px;
box-shadow: 0 10px 40px rgba(0,0,0,0.03);
border: 1px solid rgba(226, 232, 240, 0.5);
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 2.5rem;
}
.patient-identity h1 {
font-size: 2.8rem;
font-family: 'Outfit', sans-serif;
color: #0F172A;
}
.action-center {
display: flex;
gap: 1rem;
background: #F8FAFC;
padding: 0.75rem;
border-radius: 20px;
}
.btn-zen {
height: 56px;
padding: 0 1.8rem;
border-radius: 16px;
font-weight: 700;
display: flex;
align-items: center;
gap: 0.8rem;
border: none;
cursor: pointer;
}
.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; }
.note-canvas-container {
background: white;
border-radius: 40px;
padding: 3rem;
box-shadow: 0 10px 50px rgba(0,0,0,0.02);
}
.zen-textarea {
width: 100%;
height: 550px;
border: none;
font-size: 1.3rem;
line-height: 1.8;
}
/* Admin Specific */
.health-indicator {
display: flex;
align-items: center;
gap: 1rem;
background: #ECFDF5;
padding: 0.75rem 1.5rem;
border-radius: 100px;
color: #059669;
font-weight: 700;
}
.pulse {
width: 10px;
height: 10px;
background: #10B981;
border-radius: 50%;
animation: pulse-ring 1.5s infinite;
}
@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; }