@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

:root {
  --shopee-orange: #ee4d2d;
  --bg: #ffffff;
  --border: #f0f0f0;
  --ink: #1b1b1b;
  --ink-soft: #757575;
  --ink-faint: #b0b0b0;
  --icon-question: rgba(0, 0, 0, 0.54);
  --icon-waiting: #f69113;
  --icon-success: #30b566;
  --icon-error: #ee2c4a;
  --icon-notification: #f69113;
  --tint-orange: #ffead8;
  --tint-red: #ffedef;
  --tint-green: #edfef1;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1c1c1e;
    --border: #333335;
    --ink: #f5f5f5;
    --ink-soft: #a3a3a3;
    --ink-faint: #7a7a7c;
    --tint-orange: #3a2a1c;
    --tint-red: #3a1e21;
    --tint-green: #1c3226;
  }
}

:root[data-theme="dark"] {
  --bg: #1c1c1e;
  --border: #333335;
  --ink: #f5f5f5;
  --ink-soft: #a3a3a3;
  --ink-faint: #7a7a7c;
  --tint-orange: #3a2a1c;
  --tint-red: #3a1e21;
  --tint-green: #1c3226;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.appbar {
  padding: calc(16px + env(safe-area-inset-top, 0px)) 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.appbar .title {
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
}

.appbar .sub {
  font-weight: 600;
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 2px;
}

.screen {
  flex: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 28px calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.art {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  flex-shrink: 0;
}

.art svg {
  transform: scale(2.4);
}

h1 {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 12px;
  line-height: 1.3;
  text-wrap: balance;
  color: var(--ink);
}

p.lede {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 38ch;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
  background: var(--tint-red);
  color: var(--icon-error);
}

.spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--icon-waiting);
  animation: spin 0.85s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation-duration: 2.4s;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.cta-area {
  margin-top: auto;
  width: 100%;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn {
  display: block;
  width: 100%;
  height: 52px;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.btn:focus-visible {
  outline: 2px solid var(--shopee-orange);
  outline-offset: 2px;
}

.btn-primary {
  border: none;
  background: var(--shopee-orange);
  color: #fff;
}

.btn-outline {
  border: none;
  box-shadow: inset 0 0 0 1px var(--shopee-orange);
  background: transparent;
  color: var(--shopee-orange);
}

.fineprint {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-faint);
  line-height: 1.5;
  margin-top: 10px;
}
