curaflow/dashboard.css

197 lines
3.9 KiB
CSS

/* --- CURIO PREMIUM DESIGN SYSTEM --- */
:root {
--primary: #0F172A;
--secondary: #3B82F6;
--accent: #F59E0B;
--success: #10B981;
--danger: #EF4444;
--bg: #F8FAFC;
--sidebar-bg: #0B1120;
--card: #FFFFFF;
--border: #E2E8F0;
--text-main: #1E293B;
--text-muted: #64748B;
--sidebar-width: 260px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: 'Inter', sans-serif;
background: var(--bg);
color: var(--text-main);
overflow-x: hidden;
}
/* --- MAIN LAYOUT --- */
.app-container {
display: flex;
min-height: 100vh;
}
.sidebar {
width: var(--sidebar-width);
background: var(--sidebar-bg);
color: white;
padding: 1.5rem;
display: flex;
flex-direction: column;
position: sticky;
top: 0;
height: 100vh;
z-index: 1000;
}
.logo {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 2.5rem;
padding: 0.5rem;
}
.logo-icon {
width: 40px;
height: 40px;
background: var(--secondary);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 1.2rem;
}
.logo-text {
font-family: 'Outfit', sans-serif;
font-size: 1.5rem;
font-weight: 700;
}
.side-nav {
display: flex;
flex-direction: column;
gap: 0.5rem;
flex: 1;
}
.side-nav a {
display: flex;
align-items: center;
gap: 12px;
padding: 0.8rem 1rem;
text-decoration: none;
color: #94A3B8;
border-radius: 12px;
transition: all 0.2s;
font-weight: 500;
}
.side-nav a:hover, .side-nav a.active {
background: rgba(59, 130, 246, 0.1);
color: white;
}
.main-content {
flex: 1;
padding: 2.5rem;
max-width: 100%;
}
/* --- SECTION STYLING --- */
.stats-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 1.5rem;
margin-bottom: 2.5rem;
}
.stat-card {
background: var(--card);
padding: 1.5rem;
border-radius: 20px;
border: 1px solid var(--border);
box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.stat-card h3 { font-size: 1.8rem; margin: 0.5rem 0; }
.stat-card span { color: var(--text-muted); font-size: 0.9rem; font-weight: 600; }
/* --- DOCTOR ZEN WORKSPACE LAYER --- */
.doctor-zen-grid {
display: grid;
grid-template-columns: 320px 1fr;
gap: 2rem;
}
.patient-pipeline {
background: var(--card);
border-radius: 24px;
padding: 1.5rem;
border: 1px solid var(--border);
}
.pipeline-card {
background: #F8FAFC;
padding: 1.2rem;
border-radius: 16px;
margin-bottom: 1rem;
border-left: 5px solid transparent;
cursor: pointer;
transition: all 0.3s ease;
}
.pipeline-card.active {
background: #EFF6FF;
border-left-color: var(--secondary);
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}
.clinical-workspace-area {
background: var(--card);
border-radius: 28px;
padding: 2.5rem;
border: 1px solid var(--border);
box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
}
.workspace-actions {
display: flex;
gap: 1rem;
margin: 2rem 0;
}
.btn-zen {
padding: 0.8rem 1.5rem;
border-radius: 14px;
border: 1px solid var(--border);
background: white;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
}
.btn-primary-zen { background: var(--secondary); color: white; border: none; }
.clinical-notes-card textarea {
width: 100%;
min-height: 250px;
border: 2px solid #F1F5F9;
border-radius: 20px;
padding: 1.5rem;
font-size: 1.1rem;
background: #FAFAFA;
outline: none;
}
.clinical-notes-card textarea:focus { border-color: var(--secondary); background: white; }
/* --- RESPONSIVE ADAPTATION --- */
@media (max-width: 1024px) {
.sidebar { width: 80px; padding: 1rem; }
.logo-text, .side-nav a span:last-child { display: none; }
.doctor-zen-grid { grid-template-columns: 1fr; }
}
.hidden { display: none !important; }