/* A sign-in code, one tile per character with a gap after the first half
   (Sign-in 2.1.5, Nick 19/11/2026). The one look wherever the code is shown:
   the dashboard's Approve sign-in? prompt (signin-prompt.js), the waiting
   sign-in page (app-login.php) and the email's approve page
   (app-login-approve.php). Drawn by signInAccount::CodeTilesHtml in PHP and
   tiles() in signin-prompt.js; the email's twin is
   signInAccount::AccountEmailCode. */

.sin-code {
  display: flex; justify-content: center; gap: 8px; clear: both;
  background: #f3f6f8; border-radius: 14px; padding: 22px 12px; margin: 6px 0 18px;
}
.sin-tile {
  width: 52px; height: 64px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid #e4e9ee; border-bottom-width: 3px; border-radius: 10px;
  font-size: 32px; font-weight: 800; line-height: 1; color: #101828; font-variant-numeric: tabular-nums;
}
.sin-tile.sin-split { margin-left: 10px; }

/* Narrow phones: six tiles and the gap still fit across */
@media (max-width: 420px) {
  .sin-code { gap: 5px; padding: 18px 8px; }
  .sin-tile { width: 40px; height: 52px; font-size: 26px; }
  .sin-tile.sin-split { margin-left: 6px; }
}

/* Inside the app: the dark frosted panel */
.lg-app .sin-code { background: rgba(255, 255, 255, .05); }
.lg-app .sin-tile { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); color: #fff; }

/* The code typed in (code-entry.js, 2.1.6): the same tiles as inputs, inside
   a box in the sign-in fields' own colours */
.sin-code.sin-entry { background: #eef4fb; border: 1px solid #e6edf5; margin: 0; padding: 26px 12px 18px; }
input.sin-tile { padding: 0; text-align: center; font-family: inherit; outline: none; caret-color: #269dd0; }
input.sin-tile:focus { border-color: #269dd0; box-shadow: 0 0 0 3px rgba(38, 157, 208, .2); }
