/* Manual sticker-code entry — builds on the sign-in shell (login.css) so it reads as the same product. */
.code-page .auth-back { text-decoration: none; }
.code-content { padding-top: 8px; }

.code-sticker { position: relative; width: min(100%, 300px); margin: 6px auto 26px; }
.code-sticker img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 30px rgba(11, 15, 20, .14); transform: rotate(-2deg); }
.code-callout { position: absolute; inset-inline-end: -4px; bottom: -18px; display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.code-callout ph-icon { color: var(--primary); }

.code-input-group { padding-inline-end: 10px; cursor: text; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.code-prefix { font-family: "Sora", var(--font-display, inherit); font-size: 18px; font-weight: 800; letter-spacing: .04em; color: var(--ink); }
.code-input { font-family: "Sora", var(--font-display, inherit); font-weight: 800; font-size: 20px; letter-spacing: .14em; text-transform: uppercase; }
.code-input::placeholder { letter-spacing: .14em; font-weight: 700; }
.code-clear { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; background: none; color: var(--gray-400); cursor: pointer; padding: 0; }
.code-clear[hidden] { display: none; }

.btn-primary.is-busy .code-submit-label { visibility: hidden; }
.btn-primary.is-busy { position: relative; }
.btn-primary.is-busy::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(11, 15, 20, .25); border-top-color: var(--ink); animation: code-spin .7s linear infinite; }
@keyframes code-spin { to { transform: rotate(360deg); } }

.code-help { margin: 14px 4px 0; font-size: 13px; line-height: 1.5; color: var(--gray-500); text-align: center; }

.code-trust { display: grid; gap: 10px; margin: 32px 0 0; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--gray-200); }
.code-trust div { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.code-trust ph-icon { color: var(--primary); flex: none; }

@media (min-width: 768px) {
  .code-content { justify-content: center; padding-bottom: 80px; }
}
