/* Shared PIN keypad — enroll.html + mobile.html */

.pin-display {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 8px 0 24px;
    min-height: 20px;
}

.pin-entry .pin-display {
    gap: 12px;
    margin: 0 0 18px;
    min-height: 14px;
}

.pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: transparent;
}

.pin-entry .pin-dot {
    width: 14px;
    height: 14px;
}

.pin-dot.filled {
    background: #03C03C;
    border-color: #03C03C;
}

.keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 52px);
    gap: 10px;
    margin-bottom: 16px;
    min-height: 272px;
    touch-action: manipulation;
}

.keypad button {
    width: auto;
    padding: 0;
    min-height: 52px;
    height: 52px;
    font-size: 22px;
    line-height: 52px;
    font-weight: 600;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: none;
    transform: none;
}

.keypad button:hover {
    transform: none;
    box-shadow: none;
}

.keypad button.keypad-action {
    font-size: 14px;
    font-weight: 500;
}

/* Mobile overlay prompt — styled to match the enroll PIN step */
.pin-entry {
    width: 100%;
    max-width: 300px;
}

.pin-entry-title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 600;
}

.pin-entry-subtitle {
    margin: 0 0 16px;
    font-size: 14px;
    color: #bbb;
    line-height: 1.5;
}

.pin-entry .keypad {
    margin-bottom: 12px;
}

.pin-submit {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    background: linear-gradient(135deg, #2a5a2a, #03C03C);
    border: none;
    color: #fff;
    cursor: pointer;
    touch-action: manipulation;
}

.pin-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.pin-passkey-btn {
    width: 100%;
    padding: 14px 18px;
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    background: linear-gradient(135deg, #2a5a2a, #03C03C);
    border: none;
    color: #fff;
    cursor: pointer;
    touch-action: manipulation;
}

.pin-passkey-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.pin-or-divider {
    margin: 0 0 10px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

.pin-entry-error {
    margin: 0 0 8px;
    font-size: 12px;
    color: #ff8a80;
    text-align: center;
}
