/* Shared look for the public front door and the tailnet "not whitelisted" page (XP launcher style). */
:root {
  /* Luna (blue) active title bar and window frame */
  --xp-title: linear-gradient(
    180deg,
    #0997ff,
    #0053ee 8%,
    #0050ee 40%,
    #06f 88%,
    #06f 93%,
    #005bff 95%,
    #003dd7 96%,
    #003dd7
  );
  --xp-frame: inset -1px -1px #00138c, inset 1px 1px #0831d9, inset -2px -2px #001ea0, inset 2px 2px #166aee,
    inset -3px -3px #003bda, inset 3px 3px #0855dd;
  --xp-window: #ece9d8;
  --font-ui: "Tahoma", "Segoe UI", Geneva, Verdana, sans-serif;
  --font-title: "Trebuchet MS", var(--font-ui);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 16px;
  background: #5ba3e0 url("/bliss.jpg") center / cover no-repeat fixed;
  font-family: var(--font-ui);
  font-size: 13px;
  color: #000;
}

.window {
  width: min(460px, 100%);
  padding: 0 0 3px;
  background: var(--xp-window);
  border-radius: 8px 8px 0 0;
  box-shadow: var(--xp-frame), 4px 4px 16px rgba(0, 0, 0, 0.4);
}

.titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 3px 8px;
  background: var(--xp-title);
  border-top: 1px solid #0831d9;
  border-left: 1px solid #0831d9;
  border-right: 1px solid #001ea0;
  border-radius: 8px 7px 0 0;
  color: #fff;
  font: bold 13px var(--font-title);
  text-shadow: 1px 1px #0f1089;
}

.body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px 21px 8px;
}

.glyph {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: bold 22px/1 var(--font-ui);
  color: #fff;
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.25);
}

.glyph--stop {
  background: radial-gradient(circle at 35% 30%, #ff7b6b, #c4170c 70%);
}

.glyph--info {
  background: radial-gradient(circle at 35% 30%, #7db4ff, #1c58c8 70%);
}

h1 {
  margin: 2px 0 8px;
  font-size: 15px;
}

p,
ol {
  margin: 0 0 10px;
  line-height: 1.45;
}

ol {
  padding-left: 18px;
}

code {
  font: 13px/1.4 ui-monospace, Consolas, monospace;
  background: #fff;
  border: 1px solid #a5a28f;
  padding: 2px 6px;
  user-select: all;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 6px 21px 16px;
}

.btn {
  min-width: 84px;
  padding: 5px 14px;
  font: 13px var(--font-ui);
  color: #000;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(180deg, #fff, #ecebe6 85%, #d6d0c5);
  border: 1px solid #003c74;
  border-radius: 3px;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  box-shadow: inset 0 0 0 2px #f8b636;
  outline: none;
}

.muted {
  color: #555;
  font-size: 12px;
}
