/* ============================================================
   K2B Network Solutions — Era theming.
   Driven by <html data-era="...">. Three settings:
     90s    — flat 16-color, Win95 bevels, dotted focus, no shadows
     modern — XP/7 default (the as-shipped look)
     future — translucent glass, soft shadow, accent gradients
   ============================================================ */

/* default (modern) is what the kit ships with — no overrides needed */

html[data-era="90s"] .k2b-button,
html[data-era="90s"] .k2b-menu-btn {
  background: var(--win-face);
  border: 0;
  box-shadow:
    inset  1px  1px 0 var(--win-hilight),
    inset -1px -1px 0 var(--win-dk-shadow),
    inset  2px  2px 0 var(--win-light),
    inset -2px -2px 0 var(--win-shadow);
  border-radius: 0;
  color: #000;
  font-family: var(--font-ui);
  font-size: 11px;
}
html[data-era="90s"] .k2b-menu-btn {
  font-family: var(--font-ui);
  font-size: 13px;
  color: #000;
}
html[data-era="90s"] .k2b-menu-btn.focused {
  outline: 1px dotted #000;
  outline-offset: -3px;
  color: #000;
}
html[data-era="90s"] .k2b-button:active,
html[data-era="90s"] .k2b-menu-btn:active {
  box-shadow:
    inset  1px  1px 0 var(--win-dk-shadow),
    inset -1px -1px 0 var(--win-hilight),
    inset  2px  2px 0 var(--win-shadow),
    inset -2px -2px 0 var(--win-light);
}
html[data-era="90s"] .k2b-titlebar,
html[data-era="90s"] .k2b-child-titlebar {
  background: linear-gradient(to right, var(--win-active-cap), var(--win-active-cap2));
  color: var(--win-cap-text);
  font-weight: 700;
  border-bottom: 0;
}
html[data-era="90s"] .k2b-titlebar .tb-btn,
html[data-era="90s"] .k2b-child-titlebar .tb-btn {
  background: var(--win-face); color: #000;
  box-shadow:
    inset  1px  1px 0 var(--win-hilight),
    inset -1px -1px 0 var(--win-dk-shadow);
  border: 0;
}
html[data-era="90s"] .k2b-menu-screen {
  background: var(--win-desktop);
}
html[data-era="90s"] .k2b-menu-title { color: #fff; }
html[data-era="90s"] .k2b-window {
  border: 0;
  box-shadow:
    inset  1px  1px 0 var(--win-hilight),
    inset -1px -1px 0 var(--win-dk-shadow),
    inset  2px  2px 0 var(--win-light),
    inset -2px -2px 0 var(--win-shadow);
}
html[data-era="90s"] .fipro-form { background: var(--win-face); }
html[data-era="90s"] .fipro-divider-v { background: var(--win-shadow); }

/* ── 2040s ── translucent surfaces, soft shadows, accent ramp ── */
html[data-era="future"] {
  --k2b-navy:        #0E1430;
  --k2b-navy-deep:   #0E1430;
  --k2b-yellow:      #FFD24A;
  --k2b-cream:       rgba(255,255,255,0.78);
  --k2b-blue-data:   #4D6BFF;
  --k2b-maroon:      #FF5C8A;
}
html[data-era="future"] body { background: linear-gradient(135deg, #161B3B 0%, #0B0E22 100%) !important; }
html[data-era="future"] .k2b-host { background: transparent; }
html[data-era="future"] .k2b-titlebar,
html[data-era="future"] .k2b-child-titlebar {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: #F1F4FF;
}
html[data-era="future"] .k2b-titlebar .tb-btn,
html[data-era="future"] .k2b-child-titlebar .tb-btn,
html[data-era="future"] .k2b-button {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #F1F4FF;
  border-radius: 8px;
  font-family: ui-sans-serif, system-ui, "Inter", "SF Pro Text", sans-serif;
  box-shadow: 0 1px 0 rgba(255,255,255,0.10) inset, 0 8px 24px rgba(0,0,0,0.18);
  backdrop-filter: blur(10px);
}
html[data-era="future"] .k2b-button:hover { background: rgba(255,255,255,0.14); }
html[data-era="future"] .k2b-menu-screen {
  background: radial-gradient(60% 50% at 50% 30%, rgba(77,107,255,0.25), rgba(0,0,0,0) 70%),
              linear-gradient(135deg, #161B3B 0%, #0B0E22 100%);
}
html[data-era="future"] .k2b-menu-title {
  color: #F1F4FF;
  letter-spacing: 8px;
  font-family: ui-sans-serif, system-ui, "Inter", sans-serif;
  font-weight: 300;
  text-transform: uppercase;
}
html[data-era="future"] .k2b-menu-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: #DDE3FF;
  font-family: ui-sans-serif, system-ui, "Inter", sans-serif;
  border-radius: 10px;
  margin: 2px 0;
}
html[data-era="future"] .k2b-menu-btn.focused {
  background: linear-gradient(135deg, rgba(77,107,255,0.35), rgba(255,210,74,0.15));
  outline: none;
  color: #fff;
}
html[data-era="future"] .k2b-menu-btn.focused u { color: var(--k2b-yellow); }
html[data-era="future"] .k2b-window {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  border-radius: 14px;
  overflow: hidden;
}
html[data-era="future"] .fipro-form {
  background: rgba(255,255,255,0.04);
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  color: #DDE3FF;
}
html[data-era="future"] .fipro-label  { color: #B8C2E8; }
html[data-era="future"] .fipro-field  {
  background: rgba(20,25,55,0.78);
  color: #6E92FF;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10);
}
html[data-era="future"] .fipro-field.hi {
  background: linear-gradient(135deg, #FFD24A, #FFB347);
  color: #1A1A1A;
}
html[data-era="future"] .fipro-divider-v {
  background: linear-gradient(to bottom, rgba(255,255,255,0.20), rgba(255,255,255,0));
  width: 1px;
}
html[data-era="future"] .fipro-big {
  background: transparent;
  color: var(--k2b-yellow);
  font-family: ui-sans-serif, system-ui, "Inter", sans-serif;
  font-style: normal;
  font-weight: 200;
  box-shadow: none;
}
