/* Employee choice */

.employee-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap);
    margin-top: 12px;
}

.employee-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 60px;
    padding-inline: 12px;
    border-radius: 12px;
    background: var(--surface-raised);
    font-weight: 700;
    text-align: left;
}

.employee-tile.active {
    box-shadow: inset 0 0 0 2px #9db8ff;
}

.employee-tile:active {
    filter: brightness(0.85);
}

.employee-tile-initials {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #3b6fd8;
    font-size: 13px;
    font-weight: 700;
}

.employee-tile-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



.pin {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.pin-employee {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 17px;
}

.pin-text {
    color: var(--text-muted);
}

.pin-dots {
    display: flex;
    gap: 12px;
    height: 14px;
}

.pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
}

.pin-dot.filled {
    background: var(--text);
    border-color: var(--text);
}

.pin-keys {
    display: grid;
    grid-template-columns: repeat(3, 72px);
    grid-auto-rows: 60px;
    gap: var(--gap);
}

.pin-key {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--surface-raised);
    font-weight: 700;
    font-size: 22px;
}

.pin-key:active {
    filter: brightness(0.85);
}

.pin-key:disabled {
    visibility: hidden;
}

.pin-key v-icon {
    width: 22px;
    height: 20px;
}

.pin-cancel {
    color: var(--text-muted);
    font-weight: 600;
    padding: 6px 12px;
}

.shake {
    animation: shake 0.35s;
}

@keyframes shake {
    20%, 60% { translate: -8px 0; }
    40%, 80% { translate: 8px 0; }
}

/* Logged out: an empty background, only the employee choice */

body.locked #topbar,
body.locked #pagedots,
body.locked #content,
body.locked #bottomnav {
    visibility: hidden;
}

body.locked .modal-backdrop {
    background: var(--background);
}
