:root {
  --background: #10212c;
  --panel: #192e3a;
  --input: #0e202a;
  --text: #ecf5fa;
  --muted: #a7bdcb;
  --border: #36505e;
  --accent: #74d6d0;
  --accent-text: #123337;
  --clean: #8ce1b6;
  --warning: #f1cb80;
  --danger: #ffa3ac;
  --neutral: #adc2d1;
  --shadow: #07131b66;
  --icon-surface: #ffffff;
  --glass: #192e3acc;
  --glass-border: #8ad5db40;
  --glow: #74d6d018;
  --glow-secondary: #5479d020;
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
}

:root[data-theme='light'] {
  --background: #eaf3fa;
  --panel: #f5f9fe;
  --input: #ffffff;
  --text: #173547;
  --muted: #526d80;
  --border: #b8cfde;
  --accent: #087b80;
  --accent-text: #ffffff;
  --clean: #167444;
  --warning: #8e6006;
  --danger: #b12d42;
  --neutral: #526d80;
  --shadow: #45718c20;
  --glass: #ffffffb8;
  --glass-border: #ffffffd9;
  --glow: #2fd6cb26;
  --glow-secondary: #739def30;
  color-scheme: light;
}

body {
  background:
    radial-gradient(ellipse at 12% 10%, var(--glow), transparent 48%),
    radial-gradient(ellipse at 86% 60%, var(--glow-secondary), transparent 48%), var(--background);
  background-attachment: fixed;
}
.panel,
.login-card {
  background: var(--panel);
}
@supports (backdrop-filter: blur(20px)) {
  .panel,
  .login-card {
    background: var(--glass) !important;
    border-color: var(--glass-border) !important;
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    backdrop-filter: blur(22px) saturate(130%);
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
}
.icon-button svg {
  width: 20px;
  height: 20px;
}
[data-theme='light'] .theme-sun,
:root:not([data-theme='light']) .theme-moon {
  display: none;
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
a {
  color: var(--accent);
}

.site-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
