:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17233a;
  background: #f3f7fc;
}

* { box-sizing: border-box; }

html, body, #kiosk-frame { width: 100%; height: 100%; margin: 0; }

body { overflow: hidden; }

#kiosk-frame { border: 0; background: #fff; }

.status-screen {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 20% 10%, rgba(38, 112, 231, .16), transparent 34rem),
    linear-gradient(145deg, #f8fbff, #eaf1fa);
}

.status-card {
  width: min(560px, 100%);
  border: 1px solid #d8e2ef;
  border-radius: 22px;
  padding: 38px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 22px 70px rgba(24, 48, 84, .14);
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: #1469df;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
}

.eyebrow {
  margin: 24px 0 7px;
  color: #52709a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

h1 { margin: 0 0 12px; font-size: clamp(27px, 5vw, 38px); line-height: 1.08; }

p { color: #5b6c83; font-size: 16px; line-height: 1.55; }

.progress { overflow: hidden; height: 7px; margin-top: 26px; border-radius: 999px; background: #e5edf7; }

.progress span {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: #2372e8;
  animation: progress 1.15s ease-in-out infinite alternate;
}

.device-detail {
  margin-top: 22px;
  border-radius: 12px;
  padding: 13px 15px;
  background: #f2f6fb;
  color: #445874;
  font-size: 13px;
  overflow-wrap: anywhere;
}

button {
  min-height: 44px;
  margin-top: 22px;
  border: 0;
  border-radius: 11px;
  padding: 0 20px;
  background: #1469df;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.failed .progress span { background: #c9362b; animation: none; }
.failed .brand-mark { background: #c9362b; }

@keyframes progress { from { transform: translateX(-90%); } to { transform: translateX(285%); } }
