.fast-checkout-box-wrapper {
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

body .fast-checkout-box-wrapper * {
    all: unset;
}

.fast-checkout-box-wrapper .dashicons {
    font-family: dashicons;
}

.fast-checkout-wrapper .fc-notice {
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    color: white;
    background: #ee2121;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #d25757, #ee2121);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #d25757, #ee2121);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    width: 90%;
    margin: 20px auto;
}

.fast-checkout-wrapper .fc-notice b {
    font-weight: bold;
}

.fast-checkout-box-wrapper .form-title {
    position: relative;
    z-index: 0;
    color: white;
    font-size: 20px;
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
}

.fast-checkout-box-wrapper .form-title::before {
    content: '';
    display: block;
    background: #000428;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #004e92, #000428);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #004e92, #000428);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    width: 100%;
    height: 140px;
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    border-radius: 10px 10px 0 0;
}

.fast-checkout-box-wrapper .fc-invoice-preview {
    border: 1px solid #ececec;
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 0 10px -7px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 2fr 1fr;

    position: relative;
    background-color: white;
    width: 95%;
    margin: 0 auto;
    box-sizing: border-box;
}

.fast-checkout-box-wrapper .fc-invoice-preview .title-section {
    display: flex;
    flex-direction: column;
}

.fast-checkout-box-wrapper .fc-invoice-preview .title-section .title {
    font-size: 25px;
    font-weight: bold;
}

.fast-checkout-box-wrapper .fc-invoice-preview .price-section {
    display: flex;
    flex-direction: column;
}

.fast-checkout-box-wrapper .fc-invoice-preview .price-section .del-value {
    width: fit-content;
    padding: 10px 20px;
    font-weight: bold;
    color: #a2a1a1;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.fast-checkout-box-wrapper .fc-invoice-preview .price-section .del-value .price-value,
.fast-checkout-box-wrapper .fc-invoice-preview .price-section .del-value .currency {
    opacity: .7;
}

.fast-checkout-box-wrapper .fc-invoice-preview .price-section .del-value::after {
    content: '';
    position: absolute;
    background-color: #ce2d2d;
    left: 0;
    right: 0;
    height: 1px;
    top: 50%;
    transform: rotate(-10deg);
    width: 100%;
    opacity: 0.5;
}

.fast-checkout-box-wrapper .fc-invoice-preview .price-section .price {
    color: white;
    width: fit-content;
    padding: 10px 20px;
    border-radius: 10px;
    background-color: #001d4c;
    font-weight: bold;
}

.fast-checkout-box-wrapper .fc-invoice-preview .price-section .price,
.fast-checkout-box-wrapper .fc-invoice-preview .price-section .del-value {
    display: flex;
    gap: 5px;
}

.fast-checkout-box-wrapper .fc-invoice-preview .price-section .form-description {
    color: #939393;
    margin-top: 5px;
}

.fast-checkout-wrapper .invalid-form {
    background: #f05656;
    padding: 10px;
    display: block;
    border-radius: 5px;
    color: white;
}

.fast-checkout-wrapper .input-item {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    width: 90%;
    margin: 0 auto;
}

.fast-checkout-wrapper .input-item.top-margin {
    margin-top: 35px;
}

.fast-checkout-wrapper .input-item .input {
    display: flex;
    flex-direction: column;
    position: relative;
}

.fast-checkout-wrapper .input-item .input label {
    position: absolute;
    top: 50%;
    right: 10px;
    left: 10px;
    transform: translateY(-50%);
    opacity: .5;
    transition: all .3s;
}

.fast-checkout-wrapper .input-item .input input:not(:placeholder-shown)+label {
    top: -25px;
    transform: unset;
    font-size: 15px;
}

.fast-checkout-wrapper input {
    padding: 10px;
    border: 1px solid #dfdfdf;
    border-radius: 4px;
    margin-top: 5px;
    outline: none;


    font-size: 15px;
    background-color: #fff;
    color: #3b4756;
    box-shadow: 0 0 20px rgb(0 0 0 / 6%);
}

.fast-checkout-wrapper input:focus {
    border-color: #bbb;
    outline: none;
}

.fast-checkout-wrapper input[type=submit] {
    border: none;
}

.fast-checkout-wrapper button.disabled,
.fast-checkout-wrapper input[type=submit].disabled {
    pointer-events: none;
    opacity: .3;
}

.fast-checkout-wrapper .mw_fast_checkout_pay_btn {
    background: #00C178;
    display: flex;
    box-shadow: 0 7px 20px #00c17860;
    justify-content: center;
    align-items: center;
    color: white !important;
    padding: 12px 10px;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.fast-checkout-wrapper .mw_fast_checkout_pay_btn .title {
    font-size: 20px;
}

.fast-checkout-wrapper .mw_fast_checkout_pay_btn .icon {
    margin: 0 10px;
    font-size: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fast-checkout-wrapper .notice-box {
    min-height: 25px;
}

.fast-checkout-wrapper .notice-box .success {
    color: green;
}

.fast-checkout-wrapper .notice-box .error {
    color: red;
}

@media screen and (max-width: 768px) {
    .fast-checkout-box-wrapper .fc-invoice-preview {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .fast-checkout-box-wrapper .fc-invoice-preview .title-section .description {
        text-align: center;
    }

    .fast-checkout-box-wrapper .fc-invoice-preview .price-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}