Spaces:
Runtime error
Runtime error
Download frontend/src/app/globals.css from FransiMengesha/brain-tumor-api: direct link, hf CLI and curl.
- Browser
- Download file 20.6 kB
-
https://huggingface.co/spaces/FransiMengesha/brain-tumor-api/resolve/main/frontend/src/app/globals.css
- Command line
-
hf download hf://spaces/FransiMengesha/brain-tumor-api/frontend/src/app/globals.css
-
curl -L -o globals.css https://huggingface.co/spaces/FransiMengesha/brain-tumor-api/resolve/main/frontend/src/app/globals.css
20.6 kB
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
/* Modern Glassy Aesthetic */
--bg-gradient: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%);
--bg-panel: rgba(255, 255, 255, 0.65);
--bg-panel-hover: rgba(255, 255, 255, 0.85);
/* Semi-transparent white for borders */
--border: rgba(255, 255, 255, 0.8);
--border-dark: rgba(15, 23, 42, 0.08);
/* For subtle contrast on light backgrounds */
/* Advanced Blue Accents */
--accent: #007AFF;
/* Apple-style vivid blue */
--accent2: #34C759;
/* Soft Green */
--accent3: #5856D6;
/* Soft Purple */
/* Typography Colors */
--text: #0F172A;
/* Slate 900 for high readability */
--text2: #475569;
/* Slate 600 for secondary text */
--text3: #94A3B8;
/* Slate 400 for tertiary text */
/* Status Colors (Softer for Light Theme) */
--danger: #EF4444;
--warn: #F59E0B;
--success: #10B981;
/* Softer Radii for Modern Feel */
--r-pill: 9999px;
--r-sharp: 8px;
/* Softened from 0px */
--r-card: 16px;
/* Increased for glass effect */
/* Glass Shadow */
--glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}
body {
background-image: var(--bg-gradient);
background-attachment: fixed;
color: var(--text);
font-family: var(--font-body), system-ui, -apple-system, sans-serif;
margin: 0;
padding: 0;
height: 100vh;
display: flex;
flex-direction: column;
overflow: hidden;
-webkit-font-smoothing: antialiased;
}
/* Base Scrollbar */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(15, 23, 42, 0.15);
border-radius: var(--r-pill);
}
::-webkit-scrollbar-thumb:hover {
background: rgba(15, 23, 42, 0.25);
}
/* ββ LAYOUT ββ */
.app {
display: flex;
flex-direction: column;
height: 100vh;
position: relative;
overflow: hidden;
}
/* Background Soft Grid */
.cyber-grid {
position: absolute;
inset: 0;
background-size: 40px 40px;
background-image:
linear-gradient(to right, rgba(0, 122, 255, 0.03) 1px, transparent 1px),
linear-gradient(to bottom, rgba(0, 122, 255, 0.03) 1px, transparent 1px);
mask-image: radial-gradient(circle at center, black, transparent 90%);
pointer-events: none;
z-index: 0;
}
/* ββ TOPBAR ββ */
.topbar {
height: 64px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 32px;
border-bottom: 1px solid var(--border);
background: var(--bg-panel);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
box-shadow: var(--glass-shadow);
z-index: 10;
position: relative;
}
.logo {
display: flex;
align-items: center;
gap: 12px;
font-family: var(--font-head);
font-size: 18px;
font-weight: 700;
letter-spacing: -0.02em;
color: var(--text);
}
.logo-icon {
width: 28px;
height: 28px;
background: var(--accent);
color: #FFFFFF;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: 900;
box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}
.logo span {
color: var(--accent);
}
.topbar-nav {
display: flex;
gap: 8px;
background: rgba(15, 23, 42, 0.03);
padding: 4px;
border-radius: var(--r-pill);
border: 1px solid var(--border);
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}
.nav-btn {
padding: 6px 20px;
border-radius: var(--r-pill);
font-size: 12px;
font-weight: 600;
font-family: var(--font-body);
color: var(--text2);
background: transparent;
border: none;
cursor: pointer;
transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
text-transform: uppercase;
letter-spacing: 0.05em;
display: flex;
align-items: center;
}
.nav-btn:hover {
color: var(--accent);
background: rgba(255, 255, 255, 0.5);
}
.nav-btn.active {
background: #FFFFFF;
color: var(--accent);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.topbar-right {
display: flex;
align-items: center;
gap: 12px;
}
.status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--success);
box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
animation: pulse 2.5s infinite;
}
@keyframes pulse {
0% {
opacity: .6
}
50% {
opacity: 1
}
100% {
opacity: .6
}
}
.status-text {
font-family: var(--font-mono);
font-size: 11px;
font-weight: 600;
color: var(--success);
letter-spacing: 0.1em;
}
/* ββ MAIN SPLIT ββ */
.main {
display: flex;
flex: 1;
overflow: hidden;
position: relative;
z-index: 1;
}
/* ββ SIDEBAR ββ */
.sidebar {
width: 280px;
border-right: 1px solid var(--border);
display: flex;
flex-direction: column;
background: rgba(255, 255, 255, 0.4);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
flex-shrink: 0;
z-index: 2;
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.02);
}
.sidebar-section {
padding: 24px;
}
.sidebar-label {
font-size: 11px;
font-weight: 700;
font-family: var(--font-mono);
letter-spacing: 0.15em;
color: var(--text3);
text-transform: uppercase;
margin-bottom: 16px;
}
.patient-card {
border-left: 3px solid transparent;
padding: 12px 12px 12px 16px;
margin-bottom: 8px;
border-radius: 0 var(--r-card) var(--r-card) 0;
cursor: pointer;
transition: all .2s;
position: relative;
background: transparent;
}
.patient-card:hover {
background: var(--bg-panel-hover);
box-shadow: var(--glass-shadow);
}
.patient-card.active {
border-left-color: var(--accent);
background: #FFFFFF;
box-shadow: 0 4px 12px rgba(0, 122, 255, 0.08);
}
.patient-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 8px;
}
.patient-avatar {
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border-radius: var(--r-pill);
color: var(--accent);
background: rgba(0, 122, 255, 0.1);
font-weight: 600;
}
.patient-name {
font-size: 14px;
font-weight: 700;
font-family: var(--font-head);
letter-spacing: -0.01em;
color: var(--text);
}
.patient-id {
font-size: 11px;
font-family: var(--font-mono);
color: var(--text3);
}
.patient-meta {
display: flex;
gap: 6px;
flex-wrap: wrap;
}
.tag {
font-size: 10px;
font-weight: 600;
font-family: var(--font-mono);
padding: 4px 8px;
border-radius: var(--r-pill);
color: var(--text2);
background: rgba(15, 23, 42, 0.05);
text-transform: uppercase;
letter-spacing: 0.05em;
}
.tag-hgg {
color: var(--danger);
background: rgba(239, 68, 68, 0.1);
}
.tag-lgg {
color: var(--warn);
background: rgba(245, 158, 11, 0.1);
}
.tag-clear {
color: var(--success);
background: rgba(16, 185, 129, 0.1);
}
/* Controls */
.control-panel {
padding: 24px;
border-top: 1px solid var(--border);
margin-top: auto;
background: rgba(255, 255, 255, 0.3);
}
.ctrl-item {
margin-bottom: 24px;
}
.ctrl-label {
font-size: 11px;
font-weight: 600;
color: var(--text2);
font-family: var(--font-mono);
text-transform: uppercase;
letter-spacing: 0.1em;
display: flex;
justify-content: space-between;
margin-bottom: 12px;
}
.ctrl-label span {
color: var(--accent);
}
input[type=range] {
-webkit-appearance: none;
width: 100%;
height: 4px;
background: rgba(15, 23, 42, 0.1);
border-radius: var(--r-pill);
outline: none;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 16px;
height: 16px;
background: #FFFFFF;
border: 2px solid var(--accent);
cursor: pointer;
border-radius: 50%;
box-shadow: 0 2px 6px rgba(0, 122, 255, 0.2);
transition: transform 0.1s;
}
input[type=range]::-webkit-slider-thumb:hover {
transform: scale(1.2);
}
.toggle-row {
display: flex;
align-items: center;
justify-content: space-between;
}
.toggle {
position: relative;
width: 44px;
height: 24px;
cursor: pointer;
}
.toggle input {
opacity: 0;
width: 0;
height: 0;
}
.toggle-slider {
position: absolute;
inset: 0;
background: rgba(15, 23, 42, 0.1);
border-radius: var(--r-pill);
transition: .3s;
}
.toggle-slider::before {
content: '';
position: absolute;
width: 18px;
height: 18px;
left: 3px;
top: 3px;
background: #FFFFFF;
border-radius: 50%;
transition: .3s;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.toggle input:checked+.toggle-slider {
background: var(--accent);
}
.toggle input:checked+.toggle-slider::before {
transform: translateX(20px);
}
/* ββ CENTER PANEL ββ */
.center {
display: flex;
flex-direction: column;
flex: 1;
overflow: hidden;
background: transparent;
position: relative;
}
.viewer-header {
padding: 16px 24px;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid var(--border);
background: rgba(255, 255, 255, 0.2);
z-index: 2;
}
.viewer-title {
font-size: 12px;
font-weight: 700;
font-family: var(--font-mono);
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--text2);
}
.viewer-controls {
display: flex;
gap: 8px;
}
.view-btn {
padding: 6px 14px;
border: 1px solid rgba(15, 23, 42, 0.1);
border-radius: var(--r-sharp);
background: rgba(255, 255, 255, 0.5);
color: var(--text2);
font-family: var(--font-mono);
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.1em;
cursor: pointer;
transition: all .2s;
}
.view-btn:hover {
background: #FFFFFF;
color: var(--accent);
border-color: rgba(0, 122, 255, 0.2);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.view-btn.active {
background: var(--accent);
color: #FFFFFF;
border-color: var(--accent);
box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}
/* ββ MRI VIEWER ββ */
.viewer-body {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
min-height: 0;
padding: 24px;
}
.mri-grid {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
flex: 1;
gap: 24px;
min-height: 0;
}
.mri-pane {
position: relative;
background: var(--bg-panel);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border: 1px solid var(--border);
border-radius: var(--r-card);
overflow: hidden;
min-height: 0;
display: flex;
align-items: center;
justify-content: center;
box-shadow: var(--glass-shadow);
}
.mri-slice-img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: contain;
filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}
.volume-3d-full {
flex: 1;
position: relative;
min-height: 0;
background: var(--bg-panel);
border: 1px solid var(--border);
border-radius: var(--r-card);
box-shadow: var(--glass-shadow);
}
.mri-pane canvas {
display: block;
width: 100%;
height: 100%;
}
.mri-label {
position: absolute;
top: 16px;
left: 16px;
font-size: 11px;
font-weight: 700;
font-family: var(--font-mono);
color: var(--text2);
background: rgba(255, 255, 255, 0.8);
padding: 4px 10px;
border-radius: var(--r-pill);
letter-spacing: 0.15em;
pointer-events: none;
z-index: 5;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.mri-overlay-controls {
position: absolute;
bottom: 16px;
right: 16px;
display: flex;
gap: 8px;
z-index: 5;
}
.mri-btn {
width: 32px;
height: 32px;
border-radius: var(--r-sharp);
border: 1px solid var(--border);
background: rgba(255, 255, 255, 0.9);
color: var(--text2);
font-size: 12px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all .2s;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.mri-btn:hover {
color: var(--accent);
transform: translateY(-2px);
box-shadow: 0 6px 16px rgba(0, 122, 255, 0.15);
}
/* ββ UPLOAD ZONE ββ */
.analysis-upload {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 40px;
text-align: center;
}
.upload-zone {
background: rgba(255, 255, 255, 0.5);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 2px dashed rgba(15, 23, 42, 0.15);
border-radius: 24px;
padding: 80px 60px;
width: 100%;
max-width: 600px;
transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
cursor: pointer;
position: relative;
}
.upload-zone:hover {
background: rgba(255, 255, 255, 0.9);
border-color: var(--accent);
transform: translateY(-4px);
box-shadow: 0 20px 40px rgba(0, 122, 255, 0.1);
}
.upload-icon {
color: var(--accent);
margin-bottom: 24px;
font-size: 48px;
}
.upload-title {
font-size: 32px;
font-family: var(--font-head);
font-weight: 700;
letter-spacing: -0.02em;
margin-bottom: 12px;
color: var(--text);
}
.upload-sub {
font-size: 15px;
color: var(--text2);
line-height: 1.6;
}
.upload-sub code {
font-family: var(--font-mono);
color: var(--accent);
background: rgba(0, 122, 255, 0.1);
border-radius: 6px;
padding: 4px 8px;
font-size: 12px;
}
/* ββ RIGHT PANEL ββ */
.right-panel {
width: 380px;
border-left: 1px solid var(--border);
background: rgba(255, 255, 255, 0.4);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
overflow-y: auto;
display: flex;
flex-direction: column;
flex-shrink: 0;
z-index: 2;
box-shadow: -4px 0 24px rgba(0, 0, 0, 0.02);
}
.rp-section {
padding: 32px;
border-bottom: 1px solid var(--border);
}
.rp-title {
font-size: 11px;
font-weight: 700;
color: var(--text3);
text-transform: uppercase;
letter-spacing: 0.15em;
margin-bottom: 24px;
font-family: var(--font-mono);
}
/* Diagnosis card */
.diagnosis-card {
background: #FFFFFF;
border-radius: var(--r-card);
border: 1px solid rgba(239, 68, 68, 0.2);
padding: 24px;
position: relative;
box-shadow: 0 8px 24px rgba(239, 68, 68, 0.08);
overflow: hidden;
}
.diagnosis-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 6px;
height: 100%;
background: var(--danger);
}
.diagnosis-type {
font-size: 28px;
font-weight: 800;
font-family: var(--font-head);
letter-spacing: -0.02em;
margin-bottom: 8px;
color: var(--text);
}
.diagnosis-sub {
font-size: 12px;
font-weight: 700;
color: var(--danger);
font-family: var(--font-mono);
text-transform: uppercase;
letter-spacing: 0.1em;
margin-bottom: 24px;
}
.confidence-row {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 8px;
}
.confidence-label {
font-size: 11px;
font-weight: 600;
font-family: var(--font-mono);
color: var(--text2);
text-transform: uppercase;
letter-spacing: 0.1em;
}
.confidence-bar {
flex: 1;
height: 6px;
background: rgba(15, 23, 42, 0.05);
border-radius: var(--r-pill);
position: relative;
overflow: hidden;
}
.confidence-fill {
position: absolute;
left: 0;
top: 0;
bottom: 0;
background: var(--danger);
border-radius: var(--r-pill);
transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.confidence-val {
font-size: 13px;
font-weight: 700;
font-family: var(--font-mono);
color: var(--text);
}
/* Metrics */
.metrics-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.metric-card {
background: #FFFFFF;
border: 1px solid rgba(15, 23, 42, 0.05);
border-radius: var(--r-card);
padding: 24px 16px;
text-align: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
transition: transform 0.2s;
}
.metric-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.metric-val {
font-size: 32px;
font-weight: 700;
font-family: var(--font-head);
margin-bottom: 8px;
letter-spacing: -0.02em;
color: var(--accent);
}
.metric-label {
font-size: 10px;
font-weight: 600;
color: var(--text2);
font-family: var(--font-mono);
text-transform: uppercase;
letter-spacing: 0.1em;
}
/* Log/Activity */
.log-entry {
display: flex;
gap: 16px;
padding: 16px 0;
border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}
.log-entry:last-child {
border-bottom: none;
}
.log-time {
font-family: var(--font-mono);
font-weight: 600;
color: var(--text3);
font-size: 11px;
white-space: nowrap;
padding-top: 2px;
}
.log-msg {
font-size: 13px;
color: var(--text);
line-height: 1.5;
font-weight: 500;
}
.log-badge {
font-size: 10px;
font-weight: 700;
font-family: var(--font-mono);
padding: 4px 8px;
border-radius: var(--r-pill);
margin-left: 8px;
text-transform: uppercase;
}
.lb-ok {
color: var(--success);
background: rgba(16, 185, 129, 0.1);
}
/* Progress bar */
.inference-progress {
background: #FFFFFF;
border-radius: var(--r-card);
border: 1px solid rgba(15, 23, 42, 0.05);
padding: 24px;
margin-bottom: 24px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.prog-header {
display: flex;
justify-content: space-between;
margin-bottom: 16px;
font-family: var(--font-mono);
font-weight: 600;
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--accent);
}
.prog-bar-bg {
height: 6px;
background: rgba(15, 23, 42, 0.05);
border-radius: var(--r-pill);
position: relative;
overflow: hidden;
}
.prog-bar-fill {
position: absolute;
left: 0;
top: 0;
bottom: 0;
background: var(--accent);
border-radius: var(--r-pill);
transition: width .4s ease-out;
}
/* ββ REPORT VIEW ββ */
.report-view {
flex: 1;
overflow-y: auto;
padding: 48px;
max-width: 800px;
margin: 0 auto;
position: relative;
z-index: 2;
}
.report-header {
margin-bottom: 48px;
border-bottom: 1px solid var(--border);
padding-bottom: 32px;
}
.report-title-main {
font-size: 48px;
font-weight: 800;
font-family: var(--font-head);
color: var(--text);
letter-spacing: -0.03em;
margin-bottom: 16px;
}
.report-meta {
display: flex;
gap: 32px;
flex-wrap: wrap;
background: rgba(255, 255, 255, 0.5);
padding: 16px 24px;
border-radius: var(--r-card);
}
.report-meta-item {
font-size: 11px;
font-weight: 600;
font-family: var(--font-mono);
color: var(--text2);
text-transform: uppercase;
letter-spacing: 0.1em;
}
.report-meta-item span {
color: var(--text);
font-weight: 700;
margin-left: 8px;
}
.report-section {
margin-bottom: 48px;
background: #FFFFFF;
padding: 40px;
border-radius: var(--r-card);
box-shadow: var(--glass-shadow);
border: 1px solid var(--border);
}
.report-section-title {
font-size: 14px;
font-weight: 700;
font-family: var(--font-mono);
text-transform: uppercase;
letter-spacing: 0.15em;
color: var(--accent);
margin-bottom: 24px;
display: flex;
align-items: center;
gap: 16px;
}
.report-section-title::before {
content: '';
height: 2px;
flex: 1;
background: rgba(0, 122, 255, 0.1);
border-radius: 2px;
}
.report-findings {
font-size: 16px;
line-height: 1.8;
color: var(--text2);
}
.report-findings strong {
color: var(--text);
font-weight: 600;
}
.report-findings .highlight {
color: var(--danger);
background: rgba(239, 68, 68, 0.1);
padding: 4px 10px;
border-radius: 6px;
font-weight: 600;
}
/* ββ TRAINING VIEW ββ */
.training-view {
flex: 1;
overflow-y: auto;
padding: 48px;
max-width: 1000px;
margin: 0 auto;
position: relative;
z-index: 2;
}
.training-title {
font-size: 36px;
font-weight: 800;
font-family: var(--font-head);
letter-spacing: -0.02em;
margin-bottom: 8px;
color: var(--text);
}
.training-sub {
font-size: 13px;
font-weight: 600;
font-family: var(--font-mono);
color: var(--text2);
text-transform: uppercase;
letter-spacing: 0.1em;
margin-bottom: 48px;
}
.train-card {
background: #FFFFFF;
border: 1px solid var(--border);
border-radius: var(--r-card);
padding: 32px;
margin-bottom: 24px;
box-shadow: var(--glass-shadow);
}
.train-card-title {
font-size: 12px;
font-weight: 700;
font-family: var(--font-mono);
color: var(--accent);
text-transform: uppercase;
letter-spacing: 0.15em;
margin-bottom: 24px;
}
.train-stat-row {
display: flex;
justify-content: space-between;
align-items: baseline;
padding: 16px 0;
border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}
.train-stat-row:last-child {
border-bottom: none;
padding-bottom: 0;
}
.train-stat-name {
font-size: 14px;
font-weight: 500;
color: var(--text2);
}
.train-stat-val {
font-size: 16px;
font-weight: 600;
font-family: var(--font-mono);
}
.train-stat-val.info {
color: var(--text);
}
.train-stat-val.good {
color: var(--success);
}
.train-stat-val.warn {
color: var(--warn);
}
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
/* Modern Glassy Aesthetic */
--bg-gradient: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%);
--bg-panel: rgba(255, 255, 255, 0.65);
--bg-panel-hover: rgba(255, 255, 255, 0.85);
/* Semi-transparent white for borders */
--border: rgba(255, 255, 255, 0.8);
--border-dark: rgba(15, 23, 42, 0.08);
/* For subtle contrast on light backgrounds */
/* Advanced Blue Accents */
--accent: #007AFF;
/* Apple-style vivid blue */
--accent2: #34C759;
/* Soft Green */
--accent3: #5856D6;
/* Soft Purple */
/* Typography Colors */
--text: #0F172A;
/* Slate 900 for high readability */
--text2: #475569;
/* Slate 600 for secondary text */
--text3: #94A3B8;
/* Slate 400 for tertiary text */
/* Status Colors (Softer for Light Theme) */
--danger: #EF4444;
--warn: #F59E0B;
--success: #10B981;
/* Softer Radii for Modern Feel */
--r-pill: 9999px;
--r-sharp: 8px;
/* Softened from 0px */
--r-card: 16px;
/* Increased for glass effect */
/* Glass Shadow */
--glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}
body {
background-image: var(--bg-gradient);
background-attachment: fixed;
color: var(--text);
font-family: var(--font-body), system-ui, -apple-system, sans-serif;
margin: 0;
padding: 0;
height: 100vh;
display: flex;
flex-direction: column;
overflow: hidden;
-webkit-font-smoothing: antialiased;
}
/* Base Scrollbar */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(15, 23, 42, 0.15);
border-radius: var(--r-pill);
}
::-webkit-scrollbar-thumb:hover {
background: rgba(15, 23, 42, 0.25);
}
/* ββ LAYOUT ββ */
.app {
display: flex;
flex-direction: column;
height: 100vh;
position: relative;
overflow: hidden;
}
/* Background Soft Grid */
.cyber-grid {
position: absolute;
inset: 0;
background-size: 40px 40px;
background-image:
linear-gradient(to right, rgba(0, 122, 255, 0.03) 1px, transparent 1px),
linear-gradient(to bottom, rgba(0, 122, 255, 0.03) 1px, transparent 1px);
mask-image: radial-gradient(circle at center, black, transparent 90%);
pointer-events: none;
z-index: 0;