.bill-wallet-one-time-cp-widget.cp-item.cp-narrow-row .cp-item-content {
    padding-top: 0; /* eliminate unnecessary white space between BillWallet logo container and the widget header */
}

.bw-one-time-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    padding: 24px 24px 0 24px; /* match padding with the existing one time content*/
}

.bw-one-time-widget.ui-v2-enabled {
    padding: 0 24px; /* match padding with the existing one time content*/
}

.bw-one-time-widget p {
    margin-bottom: 0px;
}

.bw-one-time-widget-logo {
    width: 65%;
}

.bw-one-time-widget-content {
    align-self: stretch;
    max-width: 500px;
    margin: 0 auto;
}

.bw-one-time-widget-content p {
    color: #585858;
    font-family: 'Montserrat', 'Roboto', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25em;
    margin-bottom: 0px;
    letter-spacing: .15px;
}

.bw-one-time-widget-pay-button {
    height: 44px;
    align-self: stretch;
    border-radius: 22px;
    background: url('../../www/img/bill-wallet/bill-wallet-button-background.png'), lightgray 50% / cover no-repeat;
    text-decoration: none;
    width: 100%;
    margin: 0 auto;
}

.bw-one-time-widget-pay-button-label {
    display: flex;
    height: 44px;
    padding: 8px 14px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.bw-one-time-widget-pay-button-label p {
    color: #FFF;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: 'Montserrat', 'Roboto', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.46px;
}

.bw-one-time-widget-otp-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    align-self: stretch;
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: 10px;
}

.bw-one-time-widget-otp-divider:before,
.bw-one-time-widget-otp-divider:after {
    background-color: rgba(0, 0, 0, 0.4);
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 50%;
    margin-top: -1px;
}

.bw-one-time-widget-otp-divider:before {
    right: 8px;
    margin-left: -50%;
}

.bw-one-time-widget-otp-divider:after {
    left: 8px;
    margin-right: -50%;
}

.bw-one-time-widget-otp-divider p {
    color: rgba(0, 0, 0, 0.85);
    font-family: 'Montserrat', 'Roboto', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    text-transform: uppercase;
}

/* In smaller resolutions */
@media screen and (max-width: 600px) {
    /* Increase size of bill-wallet logo */
    .bw-one-time-widget-logo {
        width: 80%;
    }

    /* Increase padding right just a bit so that the feedback widget doesn't override the bw text */
    .bw-one-time-widget-content p {
        padding-right: 15px;
    }
}

@media screen and (min-width: 600px) and (max-width: 1024px) {
    .bw-one-time-widget-logo {
        width: 45%;
    }

    .bw-one-time-widget-pay-button {
        width: 500px;
    }
}
