/* Mercado Inteligente "Dark Tech" tokens and base elements, shared by the test and the admin panel. */
:root {
  --page: #07090C;
  --ink: #0A0A0A;
  --card: #12161C;
  --hi: #161B22;
  --text: #F4F6F8;
  --muted: #AEB6C0;
  --dim: #8A949F;
  --y: #FFC400;
  --g: #39D353;
  --gd: #2FB84B;
  --b: #3B9DFF;
  --warm: #FF7A59;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .24);
  --lv0: var(--warm);
  --lv1: var(--y);
  --lv2: var(--b);
  --lv3: var(--g);
  --radius: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

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

html, body {
  background: var(--page);
  color: var(--text);
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body { min-height: 100dvh; }

a { color: var(--b); }

:focus-visible { outline: 2px solid var(--b); outline-offset: 2px; }

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
}

.top {
  background:
    radial-gradient(900px 260px at 10% -40%, rgba(30, 134, 227, .22), transparent 60%),
    radial-gradient(700px 240px at 100% 0, rgba(47, 184, 75, .16), transparent 60%),
    var(--ink);
  border-bottom: 3px solid var(--gd);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.top img { height: 34px; width: auto; }

.kick { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--y); text-transform: uppercase; }

.btn {
  flex: 1;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: var(--radius);
  border: 0;
  background: var(--y);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .15s var(--ease), filter .15s var(--ease);
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); flex: 0 0 auto; }
.btn[disabled] { opacity: .5; cursor: progress; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
