File size: 5,509 Bytes
e4fd6e0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 | /* Shared user menu and profile modal styles */
/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ICH Screening Dashboard β Stylesheet
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
:root {
--bg: #070d1a;
--bg2: #0c1427;
--panel: #111c33;
--panel2: #162244;
--surface: #1a2850;
--text: #e8ecf6;
--muted: #8ba0c4;
--line: #243356;
--accent: #6ea8fe;
--green: #34d399;
--red: #fb7185;
--orange: #fbbf24;
--blue: #60a5fa;
--radius: 14px;
}
/* ββ Reset βββββββββββββββββββββββββββββββββββββββββββββββββββ */
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
scroll-behavior: smooth;
}
body {
font-family:
"Inter",
system-ui,
-apple-system,
"Segoe UI",
Roboto,
sans-serif;
background:
radial-gradient(
ellipse 1400px 500px at 5% -5%,
#1a2f55 0%,
transparent 60%
),
radial-gradient(
ellipse 1200px 500px at 95% -5%,
#2a1d46 0%,
transparent 55%
),
var(--bg);
color: var(--text);
line-height: 1.6;
min-height: 100vh;
}
/* ββ Layout ββββββββββββββββββββββββββββββββββββββββββββββββββ */
.container {
width: min(1240px, 94vw);
margin: 0 auto;
}
.page {
padding: 20px 0 48px;
}
/* ββ Topbar ββββββββββββββββββββββββββββββββββββββββββββββββββ */
.topbar {
position: sticky;
top: 0;
z-index: 50;
background: rgba(7, 13, 26, 0.88);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--line);
}
.topbar-inner {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
padding: 14px 24px;
}
.brand {
display: flex;
align-items: center;
gap: 10px;
font-weight: 800;
font-size: 1.05rem;
color: var(--text);
text-decoration: none;
}
.brand-icon {
color: var(--accent);
display: flex;
}
.nav-links {
display: flex;
gap: 6px;
}
.nav-links a {
padding: 6px 14px;
border-radius: 8px;
color: var(--muted);
text-decoration: none;
font-weight: 500;
font-size: 0.9rem;
transition: all 0.15s;
}
.nav-links a:hover {
color: var(--text);
background: var(--panel);
}
.nav-links a.active {
color: var(--accent);
background: rgba(110, 168, 254, 0.1);
}
/* ββ Hero ββββββββββββββββββββββββββββββββββββββββββββββββββββ */
.hero {
padding: 8px 0 6px;
}
.hero h1 {
font-size: 1.8rem;
font-weight: 800;
}
.hero p {
color: var(--muted);
margin-top: 6px;
}
/* ββ Stats row βββββββββββββββββββββββββββββββββββββββββββββββ */
.stats-row {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 12px;
margin: 16px 0;
}
.stat-card {
background: linear-gradient(180deg, var(--panel2), var(--panel));
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 16px;
}
.stat-label {
font-size: 0.82rem;
color: var(--muted);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.stat-value {
font-size: 1.6rem;
font-weight: 800;
margin-top: 4px;
}
.stat-card.accent-green .stat-value {
color: var(--green);
}
.stat-card.accent-red .stat-value {
color: var(--red);
}
.stat-card.accent-orange .stat-value {
color: var(--orange);
}
.stat-card.accent-blue .stat-value {
color: var(--blue);
}
/* ββ Info bar ββββββββββββββββββββββββββββββββββββββββββββββββ */
.info-bar {
display: flex;
gap: 24px;
flex-wrap: wrap;
padding: 10px 16px;
border-radius: 10px;
background: var(--panel);
border: 1px solid var(--line);
font-size: 0.88rem;
color: var(--muted);
margin-bottom: 12px;
}
.info-bar strong {
color: var(--text);
}
/* ββ Panel βββββββββββββββββββββββββββββββββββββββββββββββββββ */
.panel {
background: linear-gradient(180deg, var(--panel2), var(--panel));
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 20px;
margin-top: 16px;
}
.panel h3 {
font-size: 1rem;
font-weight: 700;
margin-bottom: 12px;
}
/* ββ Filters βββββββββββββββββββββββββββββββββββββββββββββββββ */
.filters {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin-bottom: 14px;
}
.filters input,
.filters select {
flex: 1;
min-width: 140px;
}
input,
select {
background: var(--bg2);
color: var(--text);
border: 1px solid var(--line);
border-radius: 10px;
padding: 10px 12px;
font-size: 0.9rem;
font-family: inherit;
transition: border-color 0.15s;
}
input:focus,
select:focus {
outline: none;
border-color: var(--accent);
}
|