@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;700;800&display=swap');

.b2p-input, .b2p-btn, .b2p-btn-payment, .b2p-field-label,
.b2p-error-msg, .b2p-warning-box, .b2p-select, .b2p-checkbox-row,
.b2p-account-card, .b2p-price-label, .b2p-price-amount {
    font-family: 'Heebo', sans-serif;
}
.b2p-input {
    display: block;
    width: 100%;
    padding: 5px 16px;
    font-size: 16px;
    line-height: 28px;
    border: 2px solid #D1D5DB;
    border-radius: 8px;
    box-sizing: border-box;
    color: #111827;
    background: #fff;
    transition: border-color 0.2s;
    text-align: right;
    margin-top: 0;
}
.b2p-input:focus {
    outline: none;
    border-color: #1E6FD9;
    box-shadow: 0 0 0 3px rgba(30,111,217,0.12);
}
.b2p-input::placeholder {
    font-size: 16px;
    color: #9CA3AF;
}
.b2p-btn {
    display: block;
    width: 100%;
    padding: 5px 20px;
    font-size: 20px !important;
    line-height: 28px !important;
    font-weight: 700 !important;
    font-family: 'Heebo', sans-serif !important;
    background: #3E566B !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 16px;
    transition: background 0.18s;
    text-align: center;
    letter-spacing: 0.2px;
    -webkit-tap-highlight-color: transparent;
}
.b2p-btn:hover  { background: #000D2F !important; color: #fff !important; }
.b2p-btn:active { background: #000D2F !important; color: #fff !important; }
.b2p-btn:visited { color: #fff !important; }
.b2p-account-card {
    border: 2px solid #D1D5DB;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s;
    display: block;
}
.b2p-account-card:has(.b2p-account-radio:checked) {
    border-color: #1E6FD9;
    background: #EFF6FF;
}
.b2p-account-card label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}
.b2p-account-radio { display: none; }
.b2p-check-box {
    width: 22px;
    height: 22px;
    border: 2px solid #D1D5DB;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.18s;
    background: #fff;
}
.b2p-account-card:has(.b2p-account-radio:checked) .b2p-check-box {
    border-color: #1E6FD9;
    background: #1E6FD9;
}
.b2p-check-box::after {
    content: '';
    width: 5px;
    height: 10px;
    border: 2.5px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
    opacity: 0;
    transition: opacity 0.18s;
}
.b2p-account-card:has(.b2p-account-radio:checked) .b2p-check-box::after {
    opacity: 1;
}
.b2p-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    font-size: 20px;
    line-height: 28px;
    color: #111827;
    cursor: pointer;
    font-weight: 500;
}
.b2p-checkbox-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #1E6FD9;
}
.b2p-error-msg {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    margin-bottom: 12px;
}
.b2p-warning-box {
    background: #FFFBEB;
    border: 1px solid #F6E05E;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 4px;
}
.b2p-select {
    display: block;
    width: 100%;
    padding: 5px 16px;
    font-size: 20px;
    line-height: 28px;
    border: 2px solid #D1D5DB;
    border-radius: 8px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2020/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat left 14px center;
    color: #111827;
    box-sizing: border-box;
    text-align: right;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s;
    margin-top: 0;
}
.b2p-select:focus {
    outline: none;
    border-color: #1E6FD9;
    box-shadow: 0 0 0 3px rgba(30,111,217,0.12);
}
.b2p-field-label {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: #000;
    margin: 10px 0 2px 0;
}
.b2p-price-box {
    background: #EFF6FF;
    border: 2px solid #BFDBFE;
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 12px;
    display: none;
    direction: rtl;
}
.b2p-price-label {
    display: block;
    font-size: 20px;
    line-height: 28px;
    color: #1E6FD9;
    font-weight: 600;
    margin-bottom: 6px;
}
.b2p-price-amount {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #1E40AF;
}
.b2p-btn-payment {
    display: block;
    width: 100%;
    background: #16A34A !important;
    margin-top: 20px;
    font-size: 20px !important;
    line-height: 28px !important;
    letter-spacing: 0.3px;
}
.b2p-btn-payment:hover  { background: #0F7A32 !important; color: #fff !important; }
.b2p-btn-payment:active { background: #0F7A32 !important; color: #fff !important; }
.b2p-btn-payment:visited { color: #fff !important; }
.b2p-info-card {
    border: 2px solid #1E6FD9;
    background: #EFF6FF;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
    color: #1E40AF;
    direction: rtl;
}
