/* Acesso rápido — PIN / biometria (PWA + APK) */
.agon-qu {
  --agon-gold: #eab000;
  --agon-gold-bright: #ffd700;
  --agon-gold-deep: #c48a00;
  --agon-navy: #06101c;
  --agon-text: #f4f7fb;
  --agon-muted: #c5d4e8;
  color: var(--agon-text);
  text-align: center;
}

.agon-qu__brand {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--agon-gold);
  font-weight: 700;
}

.agon-qu__hello {
  margin: 0 0 22px;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}

.agon-qu__dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 22px;
  min-height: 18px;
}

.agon-qu__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(234, 176, 0, 0.55);
  background: transparent;
  transition: background 0.12s ease, transform 0.12s ease;
}

.agon-qu__dot.is-on {
  background: var(--agon-gold-bright);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.45);
  transform: scale(1.08);
}

.agon-qu__err {
  min-height: 20px;
  margin: 0 0 10px;
  font-size: 13px;
  color: #ff8a8a;
}

.agon-qu__pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 260px;
  margin: 0 auto 18px;
}

.agon-qu__key {
  height: 52px;
  border: 1px solid rgba(234, 176, 0, 0.22);
  border-radius: 14px;
  background: rgba(10, 26, 51, 0.72);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
}

.agon-qu__key:active {
  transform: scale(0.96);
  background: rgba(234, 176, 0, 0.18);
}

.agon-qu__enter {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--agon-gold-bright), var(--agon-gold-deep));
  color: #1a1200;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}

.agon-qu__enter[disabled] {
  opacity: 0.45;
  cursor: default;
}

.agon-qu__bio {
  display: none;
  width: 100%;
  margin: 0 0 12px;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(234, 176, 0, 0.28);
  background: rgba(6, 16, 28, 0.55);
  color: var(--agon-text);
  font-size: 15px;
  cursor: pointer;
}

.agon-qu__bio.is-on {
  display: block;
}

.agon-qu__or {
  margin: 8px 0 14px;
  color: #d7e3f2;
  font-size: 13px;
  font-weight: 600;
}

.agon-qu__link {
  display: inline-block;
  margin-top: 8px;
  background: none;
  border: 0;
  color: #f3d56b;
  text-decoration: underline;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

.agon-qu-mask {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}

.agon-qu-sheet {
  width: 100%;
  max-width: 420px;
  background: #07111d;
  border: 1px solid rgba(234, 176, 0, 0.22);
  border-radius: 20px 20px 16px 16px;
  padding: 22px 18px 18px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
}

.agon-qu-sheet h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
}

.agon-qu-sheet p {
  margin: 0 0 14px;
  color: #e8eef7;
  font-size: 15px;
  line-height: 1.5;
}

.agon-qu-sheet__lead {
  color: #f8fafc !important;
  font-size: 15px !important;
}

.agon-qu-sheet__note {
  margin-bottom: 16px !important;
  color: #ffd700 !important;
  font-size: 13px !important;
  font-weight: 700;
}

.agon-qu-sheet__label {
  display: block;
  text-align: left;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
}

.agon-qu-sheet__row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.agon-qu-sheet__row button {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(234, 176, 0, 0.4);
  background: #10243f;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.agon-qu-sheet__row button.is-on {
  background: linear-gradient(180deg, var(--agon-gold-bright), var(--agon-gold-deep));
  color: #1a1200;
  border-color: transparent;
}

.agon-qu-sheet input[type="password"],
.agon-qu-sheet input[type="tel"] {
  width: 100%;
  height: 50px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid rgba(234, 176, 0, 0.45);
  background: #10243f;
  color: #fff;
  text-align: center;
  letter-spacing: 0.4em;
  font-size: 22px;
}

.agon-qu-sheet input::placeholder {
  color: #9eb0c8;
  letter-spacing: 0.04em;
  font-size: 15px;
}

.agon-device-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agon-device-empty {
  padding: 16px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #d5dde6;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.agon-device {
  text-align: left;
  padding: 14px;
  border: 1px solid #d5dde6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}

.agon-device.is-here {
  border-color: #eab000;
  background: #fffbeb;
}

.agon-device__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.agon-device strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.3;
}

.agon-device__badge {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #78350f;
  background: #fde68a;
  border-radius: 999px;
  padding: 4px 8px;
}

.agon-device__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.4;
}

.agon-device__meta span {
  color: #475569;
  font-weight: 600;
}

.agon-device__meta b {
  color: #0f172a;
  font-weight: 800;
  text-align: right;
}

.agon-device__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.agon-device__chip {
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
}

.agon-device__chip.is-on {
  background: #dcfce7;
  color: #166534;
}

.agon-device__revoke {
  width: 100%;
  height: 42px;
  margin-top: 0;
  border-radius: 10px;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #b91c1c;
  cursor: pointer;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 800;
}

body.agon-qu-open .agon-login__form-wrap,
body.agon-qu-open .agon-login__subtitle,
body.agon-qu-open .agon-login__demo,
body.agon-qu-open .agon-login__hr {
  display: none !important;
}

.agon-login__quick {
  display: none;
}

body.agon-qu-open .agon-login__quick {
  display: block;
}

html.agon-qu-locked,
html.agon-qu-locked body {
  overflow: hidden !important;
}

.agon-qu-lock {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20000;
  align-items: center;
  justify-content: center;
  padding: 28px 18px 32px;
  background:
    radial-gradient(ellipse 80% 60% at 72% 28%, rgba(234, 176, 0, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 55% at 18% 78%, rgba(0, 191, 255, 0.12), transparent 52%),
    linear-gradient(165deg, #000 0%, #06101c 45%, #0a1424 100%);
}

html.agon-qu-locked .agon-qu-lock {
  display: flex;
}

.agon-qu-lock__inner {
  width: 100%;
  max-width: 360px;
}

.agon-qu-lock .agon-qu__hello {
  font-size: 24px;
}
