/* The PIN sign-in on a till tablet (#3051), drawn by js/till-tablet.js
   inside the sign-in card. Big targets: it is tapped by thumbs at the till. */

#login-page.till-mode #login-form,
#login-page.till-mode .lw-tagline { display: none; }
/* A smaller logo, so the PIN pad fits a tablet held sideways. */
#login-page.till-mode .lw-logo-plate { margin: 0 auto 0.5rem; max-width: 12rem; }
#login-page.till-mode .lw-badge-signin { width: 64px; }

.till-faces { margin-top: 0.5rem; }
.till-shop { text-align: center; font-weight: 700; font-size: 1.1rem; margin: 0 0 0.25rem; }
.till-hint { text-align: center; color: var(--text-muted); margin: 0 0 1rem; }

.till-pin { display: flex; flex-direction: column; align-items: center; margin-bottom: 0.75rem; }
.till-dots { display: flex; gap: 0.9rem; margin: 0.25rem 0 0.5rem; min-height: 1.2rem; }
.till-dot { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid var(--text-muted); }
.till-dot.filled { background: var(--text); border-color: var(--text); }
.till-error { min-height: 1.3rem; margin: 0 0 0.5rem; text-align: center; }

.till-keypad {
    display: grid; grid-template-columns: repeat(3, 4.75rem); gap: 0.5rem;
    justify-content: center;
}
.till-key {
    height: 3.9rem; font-size: 1.6rem; font-weight: 600;
    background: var(--bg-input); color: var(--text);
    border: 1px solid var(--border); border-radius: var(--radius);
    cursor: pointer; touch-action: manipulation;
}
.till-key:active { background: var(--bg-hover); }
.till-key-small { font-size: 1rem; }

/* "Still there?" before the idle sign-out while POS has a sale going (#4431). */
.till-still-there {
    position: fixed; inset: 0; z-index: 3000;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.55); padding: 1rem;
}
.till-still-there-card {
    background: var(--bg-card, var(--bg-input)); color: var(--text);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.5rem; max-width: 22rem; width: 100%; text-align: center;
}
.till-still-there-title { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.5rem; }
