/* v9 theme — MinIO Console (files.evebos.com) */
/* Story: EA-EVEOS-OSS-THEME-RESKIN-001 session 8650 */

:root, html, body {
  background: #05070b !important;
  color: #e5e9f0 !important;
  color-scheme: dark !important;
}

#root, #root > div {
  background: #05070b !important;
}

/* Top navigation / header */
header, [class*="HeaderBar"], [class*="header"],
[class*="Toolbar"], [role="banner"] {
  background: #0a0e16 !important;
  border-color: rgba(148, 163, 184, 0.12) !important;
  color: #e5e9f0 !important;
}

/* Left sidebar */
nav, [class*="sidebar" i], [class*="Sidebar" i],
[class*="navigation" i], [class*="menu" i] {
  background: #0a0e16 !important;
  border-color: rgba(148, 163, 184, 0.12) !important;
  color: #e5e9f0 !important;
}

/* Main content area */
main, [class*="main" i], section {
  background: #0c111b !important;
  color: #e5e9f0 !important;
}

/* Cards / panels / buckets */
[class*="paper" i], [class*="card" i], [class*="Paper" i],
[class*="Card" i], [class*="bucket" i], [class*="Bucket" i],
[class*="object" i], [class*="panel" i], [class*="Panel" i] {
  background: #0c111b !important;
  border-color: rgba(148, 163, 184, 0.12) !important;
  color: #e5e9f0 !important;
}

/* Buttons → cyan accent */
button[type="submit"], button[class*="primary" i],
[class*="minio-btn-primary"], .MuiButton-containedPrimary,
.MuiButton-contained {
  background: #06b6d4 !important;
  color: #05070b !important;
  border-color: #06b6d4 !important;
}
button:not([type="submit"]):not([class*="primary" i]):not([class*="icon" i]):not([class*="IconButton" i]) {
  background: #0f141d !important;
  color: #e5e9f0 !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}

/* Typography */
body, button, input, select, textarea, p, span, div, h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter Tight', 'Geist', system-ui, -apple-system, sans-serif !important;
}
code, pre, [class*="mono" i], .MuiTypography-root[class*="mono" i] {
  font-family: 'JetBrains Mono', 'Geist Mono', ui-monospace, monospace !important;
}

/* Inputs */
input, textarea, select, .MuiInputBase-root, .MuiOutlinedInput-root {
  background: #0f141d !important;
  color: #e5e9f0 !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}
.MuiOutlinedInput-notchedOutline {
  border-color: rgba(148, 163, 184, 0.22) !important;
}

/* Tables */
table, th, td, [class*="Table" i] {
  border-color: rgba(148, 163, 184, 0.12) !important;
}
th {
  background: #0a0e16 !important;
  color: #94a3b8 !important;
}
tr:hover, tr:nth-child(even) {
  background: rgba(148, 163, 184, 0.03) !important;
}

/* Links */
a { color: #22d3ee !important; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #05070b; }
::-webkit-scrollbar-thumb { background: rgba(148,163,184,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(148,163,184,0.25); }

/* MUI overrides */
.MuiPaper-root, .MuiCard-root {
  background: #0c111b !important;
  color: #e5e9f0 !important;
}
.MuiAppBar-root {
  background: #0a0e16 !important;
}
.MuiDrawer-paper {
  background: #0a0e16 !important;
  border-color: rgba(148, 163, 184, 0.12) !important;
}
.MuiListItem-root:hover {
  background: rgba(6, 182, 212, 0.06) !important;
}
.Mui-selected {
  background: rgba(6, 182, 212, 0.12) !important;
}
