@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&family=Manrope:wght@500;700&display=swap");

:root {
  --app-bg-1: #f8fbff;
  --app-bg-2: #eef7ff;
  --app-text: #1b2a41;
  --app-muted: #5a6a85;
  --app-primary: #1d89ff;
  --app-shadow: 0 14px 36px rgba(21, 118, 206, 0.14);
}

body {
  font-family: "Plus Jakarta Sans", "Manrope", "Microsoft YaHei", sans-serif;
  color: var(--app-text);
}

.app-bg {
  min-height: 100vh;
  background: radial-gradient(circle at 10% 10%, #f4fcff 0%, var(--app-bg-1) 35%, var(--app-bg-2) 100%);
}

.backdrop-blur {
  backdrop-filter: blur(8px);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
  opacity: 0.34;
  z-index: 0;
}

.orb-a {
  width: 260px;
  height: 260px;
  top: -60px;
  right: -30px;
  background: linear-gradient(135deg, #ffe584, #ffb76f);
}

.orb-b {
  width: 320px;
  height: 320px;
  bottom: -80px;
  left: -80px;
  background: linear-gradient(135deg, #7be6c5, #51a3ff);
}

.orb-c {
  width: 260px;
  height: 260px;
  top: 60px;
  left: -60px;
  background: linear-gradient(145deg, #7be6c5, #89c7ff);
}

.orb-d {
  width: 290px;
  height: 290px;
  bottom: -80px;
  right: -80px;
  background: linear-gradient(145deg, #ffd67a, #ff9fb2);
}

.glass-card {
  border: 1px solid rgba(83, 160, 255, 0.22);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--app-shadow);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
}

.app-nav {
  border: 1px solid rgba(83, 160, 255, 0.22);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--app-shadow);
  backdrop-filter: blur(8px);
}

.app-nav .nav-link {
  color: var(--app-text);
  font-weight: 700;
  border-radius: 0.8rem;
}

.app-nav .nav-link.active {
  background: linear-gradient(135deg, #2f97ff, #0868ca);
}

.stat-value {
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mono {
  font-family: "Fira Code", "JetBrains Mono", Consolas, monospace;
  word-break: break-all;
}

.auth-card-bootstrap {
  max-width: 480px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(83, 160, 255, 0.28);
  background: rgba(255, 255, 255, 0.9);
}

.health-strip {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 8px 6px;
  border-radius: 12px;
  background: rgba(20, 42, 66, 0.06);
  display: grid;
  grid-template-columns: repeat(100, minmax(4px, 1fr));
  gap: 2px;
  border: 1px solid rgba(74, 110, 148, 0.2);
}

.health-strip .seg {
  display: block;
  height: 14px;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.health-strip .seg.off {
  background: rgba(36, 76, 117, 0.22);
}

.health-strip.health-good .seg.on {
  background: linear-gradient(180deg, #1db66f, #169259);
}

.health-strip.health-warn .seg.on {
  background: linear-gradient(180deg, #d49b1f, #ad7a0d);
}

.health-strip.health-bad .seg.on {
  background: linear-gradient(180deg, #cf4a4a, #a73535);
}

.health-item {
  border-radius: 12px;
  border: 1px solid rgba(96, 166, 255, 0.22);
  background: rgba(255, 255, 255, 0.84);
  padding: 12px;
  height: 100%;
}

.health-item-value {
  margin-top: 0.25rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--app-text);
}

.health-time {
  font-size: 1rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .health-strip {
    grid-template-columns: repeat(50, minmax(4px, 1fr));
  }

  .health-strip .seg {
    height: 10px;
  }
}
