/*
 * MarfedLab Intune Showcase — site theme alignment.
 * The Outlook simulation intentionally retains its light native application UI.
 */

:root {
  --ink: #edf5ff;
  --muted: #8095aa;
  --blue: #66a6ff;
  --cyan: #63e6be;
  --green: #63e6be;
  --navy: #07111f;
  --panel: #0d1d31;
  --line: rgba(148, 180, 214, 0.18);
  --dark: #050f1b;
  background: #07111f;
}

body {
  background:
    radial-gradient(circle at 82% 4%, rgba(102, 166, 255, 0.1), transparent 27rem),
    #07111f;
}

.topbar {
  background: rgba(5, 15, 27, 0.94);
  border-bottom-color: rgba(148, 180, 214, 0.18);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.lab-context {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.12em;
  font-size: 11px;
}

.lab-context span {
  padding: 6px 8px;
  border: 1px solid rgba(99, 230, 190, 0.35);
  border-radius: 999px;
  color: #63e6be;
  font-size: 9px;
  font-weight: 700;
}

.lab-context b {
  color: #edf5ff;
  font-weight: 700;
}

.hero {
  background:
    radial-gradient(circle at 78% 40%, rgba(102, 166, 255, 0.18), transparent 38%),
    linear-gradient(120deg, #07111f, #0a192a);
}

.section,
.lost {
  background: #07111f;
}

.section:nth-of-type(even) {
  background: #081522;
}

.split-lab,
.compliance-lab,
.lost-console {
  border-color: rgba(148, 180, 214, 0.18);
  background: #0a1929;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.user-stage {
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 32%, rgba(102, 166, 255, 0.12), transparent 45%),
    #0d1d31;
}

.journey-screen p,
.compliance .section-head > p {
  color: #a9bdca;
}

.box {
  background: #10263a;
  border: 1px solid rgba(148, 180, 214, 0.18);
  box-shadow: 25px 25px 45px rgba(0, 0, 0, 0.35);
}

.setup-progress {
  background: rgba(148, 180, 214, 0.22);
}

.setup-progress i,
.win-logo i {
  background: #66a6ff;
}

.ready-desktop span {
  color: #dce9f5;
  background: #12263a;
  border: 1px solid rgba(148, 180, 214, 0.16);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.admin-stage,
.policy-panel,
.lost-actions {
  background: #0a1929;
}

.compliance {
  color: var(--ink);
  background: #081522;
}

.compliance .kicker {
  color: var(--cyan);
}

.compliance-lab {
  color: var(--ink);
  background: #091723;
}

.access-scene {
  background:
    radial-gradient(circle, rgba(102, 166, 255, 0.16), transparent 65%),
    #0b1b2c;
}

.fake-map {
  background: #0a2030;
}

.lang,
.policy-actions button,
.lost-actions > button,
.m365-card button {
  border-color: rgba(148, 180, 214, 0.28);
}

.topbar .mfi-lang-switch {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 106px;
  height: 42px;
  margin-left: 32px;
  padding: 4px;
  border: 1px solid rgba(148, 180, 214, 0.3);
  border-radius: 14px;
  background: rgba(7, 20, 35, 0.94);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.34);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  isolation: isolate;
}

.topbar .mfi-lang-switch button {
  position: relative;
  z-index: 2;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #9db0c4;
  font: 800 0.72rem/1 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 220ms ease, transform 220ms ease;
}

.topbar .mfi-lang-switch button:hover,
.topbar .mfi-lang-switch button:focus-visible {
  color: #effcff;
  outline: 2px solid rgba(99, 230, 190, 0.38);
  outline-offset: 1px;
}

.topbar .mfi-lang-switch button[aria-pressed="true"] {
  color: #061b14;
}

.topbar .mfi-lang-glider {
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #63e6be, #8ef0d1);
  box-shadow: 0 8px 22px rgba(99, 230, 190, 0.24);
  transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.topbar .mfi-lang-switch.is-en .mfi-lang-glider {
  transform: translateX(100%);
}

.mfi-i18n-root {
  --mfi-transition: 260ms;
}

.mfi-i18n-root > *:not(.topbar) {
  transition:
    opacity var(--mfi-transition) ease,
    filter var(--mfi-transition) ease,
    transform var(--mfi-transition) ease;
}

.mfi-i18n-root.mfi-switching > *:not(.topbar) {
  opacity: 0.42;
  filter: blur(2px);
  transform: translateY(3px);
}

@media (max-width: 782px) {
  .marfedlab-intune-showcase-page .marfedlab-site-header {
    top: 46px;
  }

  .topbar {
    height: 68px;
  }

  .lab-context b {
    font-size: 10px;
  }

  .topbar .mfi-lang-switch {
    width: 96px;
    height: 40px;
    margin-left: auto;
  }

  .topbar .mfi-lang-glider {
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topbar .mfi-lang-glider,
  .mfi-i18n-root > *:not(.topbar) {
    transition: none !important;
  }
}
