/* Classic checkout fields */
#bki_pocket_number,
#bki_otp,
.wc-bki-wallet-input {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d5d9df;
    border-radius: 5px;
    font-size: 16px;
    line-height: 1.5;
    direction: ltr;
    text-align: left;
    background: #fff;
}

#bki_pocket_number:focus,
#bki_otp:focus,
.wc-bki-wallet-input:focus {
    outline: 2px solid transparent;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

#bki_send_otp_btn,
.wc-bki-wallet-button {
    margin-top: 10px;
    padding: 10px 20px;
    min-height: 42px;
    border: 0;
    border-radius: 5px;
    background-color: #0073aa;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

#bki_send_otp_btn:hover,
#bki_send_otp_btn:focus,
.wc-bki-wallet-button:hover,
.wc-bki-wallet-button:focus {
    background-color: #005a87;
    color: #fff;
}

#bki_send_otp_btn:disabled,
.wc-bki-wallet-button:disabled {
    background-color: #a7adb4;
    cursor: not-allowed;
    opacity: .8;
}

#bki_otp_message,
.wc-bki-wallet-message {
    display: block;
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.7;
}

#bki_otp_message.success,
.wc-bki-wallet-message.success { color: #16803c; }
#bki_otp_message.error,
.wc-bki-wallet-message.error { color: #b32d2e; }
#bki_otp_field { margin-top: 15px; }

/* WooCommerce Checkout Blocks */
.wc-bki-wallet-block-form { width: 100%; margin-top: 12px; }
.wc-bki-wallet-block-row { margin: 0 0 14px; }
.wc-bki-wallet-block-row label { display: block; margin: 0 0 6px; font-weight: 600; }
.wc-bki-wallet-block-row .required { color: #b32d2e; }
.wc-bki-wallet-description { margin-bottom: 12px; }
.wc-bki-wallet-block-label { display: inline-flex; align-items: center; gap: 8px; }
.wc-bki-wallet-block-logo { display: inline-block; width: auto !important; height: auto !important; max-width: 86px !important; max-height: 30px !important; object-fit: contain; vertical-align: middle; }
.wc-bki-wallet-block-preview { font-size: 13px; opacity: .8; }

/* Constrain this gateway's image only; preserve its intrinsic aspect ratio. */
li.payment_method_bki_wallet img,
.payment_method_bki_wallet img,
#payment .payment_methods .payment_method_bki_wallet img {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    max-width: 86px !important;
    max-height: 30px !important;
    object-fit: contain !important;
    vertical-align: middle;
}
