body.order-opc textarea.vtm-resizable-message {
    min-height: 72px;
    max-width: 100%;
    resize: vertical !important;
    overflow: auto !important;
}

body.order-opc #HOOK_PAYMENT > .warning,
body.order-opc #HOOK_PAYMENT > .alert-danger {
    display: none !important;
}

body.order-opc .opc_payment_methods-content {
    display: flex;
    flex-direction: column;
}

body.order-opc .opc_payment_methods-content > #HOOK_PAYMENT {
    order: 0;
}

body.order-opc .opc_payment_methods-content > .alert.alert-success.vallestrade {
    order: 1;
}

body.order-opc .vtm-finalize-always-visible {
    display: table !important;
    width: auto !important;
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
    margin-top: -15px;
    margin-bottom: 24px;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

body.order-opc .vtm-finalize-always-visible.vtm-finalize-disabled {
    opacity: .55 !important;
    cursor: not-allowed !important;
}

body.order-opc .vtm-finalize-always-visible.vtm-terms-required {
    cursor: pointer !important;
}

body.order-opc .vtm-finalize-always-visible.vtm-finalize-disabled.vtm-terms-required {
    opacity: .72 !important;
    cursor: pointer !important;
}

html body.order-opc #vtm-terms-warning.vtm-terms-warning {
    display: none;
    clear: both;
    margin: 10px 0 4px;
    padding: 12px 15px;
    border: 1px solid #f1aeb5;
    border-radius: 2px;
    background: #f8d7da;
    color: #721c24;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

html body.order-opc #vtm-terms-warning.vtm-terms-warning.is-visible {
    display: block;
}

html body.order-opc #vtm-terms-warning.vtm-terms-warning + .vtm-finalize-always-visible {
    margin-top: 0 !important;
}

html body.order-opc.vtm-order-processing-open {
    overflow: hidden !important;
}

html body.order-opc #vtm-order-processing-overlay[hidden] {
    display: none !important;
}

html body.order-opc #vtm-order-processing-overlay.vtm-order-processing-overlay {
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 24px;
    background: rgba(19, 21, 25, .24);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    opacity: 0;
    transition: opacity .18s ease-out;
    pointer-events: auto;
}

html body.order-opc #vtm-order-processing-overlay.vtm-order-processing-overlay.is-visible {
    opacity: 1;
}

html body.order-opc #vtm-order-processing-overlay .vtm-order-processing-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 460px;
    padding: 38px 40px 34px;
    border: 1px solid rgba(24, 28, 34, .08);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 24px 70px rgba(13, 17, 23, .2);
    color: #25282d;
    text-align: left;
    transform: translateY(8px) scale(.99);
    transition: transform .22s ease-out;
}

html body.order-opc #vtm-order-processing-overlay.is-visible .vtm-order-processing-card {
    transform: translateY(0) scale(1);
}

html body.order-opc #vtm-order-processing-overlay .vtm-order-processing-title {
    margin: 0;
    color: #25282d;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.01em;
    text-transform: none;
}

html body.order-opc #vtm-order-processing-overlay .vtm-order-processing-progress {
    position: relative;
    width: 100%;
    height: 3px;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 999px;
    background: #eceef0;
}

html body.order-opc #vtm-order-processing-overlay .vtm-order-processing-progress-line {
    position: absolute;
    inset: 0 auto 0 0;
    width: 42%;
    border-radius: inherit;
    background: linear-gradient(90deg, #9b0905 0%, #d02a25 55%, #9b0905 100%);
    animation: vtm-order-processing-line 1.85s cubic-bezier(.45, 0, .2, 1) infinite;
    transform-origin: center;
}

html body.order-opc #vtm-order-processing-overlay .vtm-order-processing-delay {
    margin: 20px 0 0;
    color: #646970;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}

html body.order-opc #vtm-order-processing-overlay .vtm-order-processing-delay[hidden] {
    display: none !important;
}

@keyframes vtm-order-processing-line {
    0% {
        transform: translateX(-125%) scaleX(.65);
        opacity: .62;
    }
    50% {
        transform: translateX(95%) scaleX(1);
        opacity: 1;
    }
    100% {
        transform: translateX(260%) scaleX(.65);
        opacity: .62;
    }
}

@media (max-width: 600px) {
    html body.order-opc #vtm-order-processing-overlay.vtm-order-processing-overlay {
        padding: 16px;
    }

    html body.order-opc #vtm-order-processing-overlay .vtm-order-processing-card {
        max-width: 100%;
        padding: 30px 24px 28px;
        border-radius: 0;
    }

    html body.order-opc #vtm-order-processing-overlay .vtm-order-processing-title {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body.order-opc #vtm-order-processing-overlay.vtm-order-processing-overlay,
    html body.order-opc #vtm-order-processing-overlay .vtm-order-processing-card {
        transition: none;
    }

    html body.order-opc #vtm-order-processing-overlay .vtm-order-processing-progress-line {
        width: 100%;
        animation: none;
        opacity: .78;
        transform: none;
    }
}
