/* The PIN prompt (step-up) and the PIN pages. See assets/landing/scripts/wallet-pin.js */

.afri-pin-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 16px;
}

.afri-pin-box {
    width: 100%;
    max-width: 340px;
    background: #fff;
    color: #222;
    border-radius: 14px;
    padding: 22px 20px 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.afri-pin-box h3 { margin: 0 0 6px; font-size: 20px; }
.afri-pin-text { margin: 0 0 12px; font-size: 14px; color: #555; }

.afri-pin-input,
.afri-pin-page-input {
    width: 100%;
    box-sizing: border-box;
    font-size: 24px;
    letter-spacing: 8px;
    text-align: center;
    padding: 10px 8px;
    border: 1px solid #bbb;
    border-radius: 10px;
    margin-bottom: 8px;
}

.afri-pin-error,
.afri-pin-page-message {
    min-height: 20px;
    font-size: 13px;
    color: #c0392b;
    margin-bottom: 8px;
}

.afri-pin-buttons { display: flex; gap: 10px; }
.afri-pin-buttons button {
    flex: 1;
    border: 0;
    border-radius: 10px;
    padding: 11px 8px;
    font-size: 15px;
    cursor: pointer;
}
.afri-pin-cancel { background: #e9e9e9; color: #333; }
.afri-pin-ok { background: #1e8449; color: #fff; }

.afri-pin-forgot { display: inline-block; margin-top: 12px; font-size: 13px; color: #1a6fc2; }

@media (prefers-color-scheme: dark) {
    .afri-pin-box { background: #1f2226; color: #eee; }
    .afri-pin-text { color: #bbb; }
    .afri-pin-input, .afri-pin-page-input { background: #2a2e33; color: #eee; border-color: #555; }
    .afri-pin-cancel { background: #3a3f45; color: #eee; }
}
