Upload files to ".Net Capstone Project"

This commit is contained in:
nisha.meshram 2026-09-02 11:43:32 +00:00
parent a3c35aba74
commit 951b220a73

View File

@ -0,0 +1,253 @@
:root {
--primary: #1a2456;
--primary-dark: #0b1229;
--accent: #7ef2c6;
--bg-a: #0b1229;
--bg-b: #1a2456;
--bg-c: #3a1f66;
--card-bg: rgba(255,255,255,0.08);
--card-border: rgba(255,255,255,0.14);
--border: rgba(255,255,255,0.14);
--text: #eef1ff;
--muted: #9aa4d6;
--high: #ff6b81;
--medium: #ffc266;
--low: #7ef2c6;
--radius: 16px;
--mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
body {
margin: 0;
min-height: 100vh;
font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background: linear-gradient(135deg, var(--bg-a), var(--bg-b) 50%, var(--bg-c));
background-attachment: fixed;
color: var(--text);
font-size: 14px;
}
/* ---- Launch page ---- */
.launch-body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.launch-card {
background: var(--card-bg);
backdrop-filter: blur(14px);
border: 1px solid var(--card-border);
border-radius: var(--radius);
padding: 48px;
text-align: center;
box-shadow: 0 20px 50px rgba(0,0,0,0.35);
max-width: 420px;
color: var(--text);
}
.launch-card h1 { font-size: 1.25rem; margin: 16px 0 8px; }
.launch-card p { color: var(--muted); }
.standalone-link {
display: inline-block;
margin-top: 16px;
color: var(--accent);
font-size: 0.85rem;
text-decoration: none;
}
.standalone-link:hover { text-decoration: underline; }
.spinner {
width: 40px;
height: 40px;
margin: 0 auto;
border: 4px solid rgba(255,255,255,0.18);
border-top-color: var(--accent);
border-radius: 50%;
animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* ---- Dashboard ---- */
.topbar {
background: rgba(255,255,255,0.05);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(255,255,255,0.1);
color: white;
padding: 16px 24px;
}
.topbar-inner {
max-width: 1100px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 8px;
}
.topbar h1 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.patient-chip {
background: rgba(255,255,255,0.14);
border: 1px solid rgba(255,255,255,0.16);
padding: 6px 14px;
border-radius: 999px;
font-size: 0.82rem;
}
.logout-btn {
background: rgba(255,255,255,0.08);
color: white;
border: 1px solid rgba(255,255,255,0.28);
padding: 6px 14px;
border-radius: 999px;
font-size: 0.82rem;
cursor: pointer;
font-family: inherit;
}
.logout-btn:hover { background: rgba(255,255,255,0.2); }
.container {
max-width: 1100px;
margin: 24px auto;
padding: 0 20px 60px;
}
.loading-state {
text-align: center;
padding: 80px 20px;
color: var(--muted);
}
.loading-state .spinner { margin-bottom: 16px; }
.error-box {
background: rgba(255,107,129,0.14);
border: 1px solid rgba(255,107,129,0.4);
color: #ffdde2;
padding: 16px 20px;
border-radius: var(--radius);
margin: 20px 0;
}
.hidden { display: none !important; }
.grid-2 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 18px;
margin-bottom: 18px;
}
@media (max-width: 720px) {
.grid-2 { grid-template-columns: 1fr; }
}
.card {
background: var(--card-bg);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
border: 1px solid var(--card-border);
border-radius: var(--radius);
padding: 20px 22px;
margin-bottom: 18px;
box-shadow: 0 8px 26px rgba(0,0,0,0.18);
}
.grid-2 .card { margin-bottom: 0; }
.card h2 {
font-size: 0.95rem;
font-weight: 600;
margin: 0 0 14px;
color: #cdd6ff;
}
.kv {
display: flex;
justify-content: space-between;
padding: 7px 0;
border-bottom: 1px solid rgba(255,255,255,0.1);
font-size: 0.88rem;
}
.kv span { color: var(--muted); }
.kv strong { color: var(--text); font-weight: 600; }
.list { display: flex; flex-direction: column; gap: 10px; }
.list-item {
background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,255,255,0.1);
border-radius: 10px;
padding: 10px 14px;
font-size: 0.88rem;
}
.list-item.abnormal { border-left: 3px solid var(--high); }
.list-item ul { margin: 6px 0 0; padding-left: 18px; }
.muted { color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.flag { color: var(--high); font-weight: 600; }
.empty { color: var(--muted); font-size: 0.88rem; }
.alert-item { display: flex; align-items: center; gap: 10px; }
.badge {
font-size: 0.68rem;
font-weight: 700;
text-transform: uppercase;
padding: 3px 9px;
border-radius: 999px;
color: #0b1229;
flex-shrink: 0;
}
.badge-high { background: var(--high); color: #340009; }
.badge-medium { background: var(--medium); color: #3a2600; }
.badge-low { background: var(--low); }
.risk-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.risk-card h2 { align-self: flex-start; }
.risk-score {
display: flex;
flex-direction: column;
align-items: center;
gap: 14px;
padding: 8px 0 4px;
}
.risk-ring {
--pct: 0;
width: 128px;
height: 128px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
background: conic-gradient(var(--ring-color, var(--accent)) calc(var(--pct) * 1%), rgba(255,255,255,0.12) 0);
}
.risk-ring-inner {
width: 96px;
height: 96px;
border-radius: 50%;
background: #1a2456;
display: flex;
align-items: center;
justify-content: center;
}
.risk-number {
font-size: 2rem;
font-weight: 800;
line-height: 1;
color: #fff;
}
.risk-level {
font-weight: 600;
padding: 5px 14px;
border-radius: 999px;
color: #0b1229;
font-size: 0.85rem;
}
.risk-high .risk-level { background: var(--high); color: #340009; }
.risk-medium .risk-level { background: var(--medium); color: #3a2600; }
.risk-low .risk-level { background: var(--low); }
.risk-factors {
margin: 12px 0 0;
padding-left: 18px;
font-size: 0.85rem;
color: var(--muted);
text-align: left;
align-self: stretch;
}
.risk-factors li { margin-bottom: 4px; }