#vtiQuotePopup {
    --vti-primary: #ef3139;
    --vti-primary-dark: #c91f2a;
    --vti-navy: #172d63;
    --vti-navy-deep: #0e1d46;
    --vti-purple: #46358f;
    --vti-pink: #c90068;
    --vti-text: #1b2440;
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    font-family: inherit;
}

#vtiQuotePopup.vti-show {
    display: flex
}

.vti-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7,15,39,.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.vti-popup-dialog {
    position: relative;
    width: min(760px,100%);
    max-height: calc(100vh - 24px);
    overflow: hidden;
    background: linear-gradient(145deg,var(--vti-navy-deep) 0%,var(--vti-navy) 47%,#243d83 100%);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;
    box-shadow: 0 30px 100px rgba(0,0,0,.48),0 0 0 1px rgba(239,49,57,.08);
    z-index: 1;
    animation: vtiPopupIn .28s ease-out;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.35) transparent;
}

.vti-popup-dialog:before,.vti-popup-dialog:after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(1px)
}

.vti-popup-dialog:before {
    width: 230px;
    height: 230px;
    right: -105px;
    top: -115px;
    background: radial-gradient(circle,rgba(239,49,57,.36),rgba(239,49,57,0) 70%)
}

.vti-popup-dialog:after {
    width: 260px;
    height: 260px;
    left: -135px;
    bottom: -150px;
    background: radial-gradient(circle,rgba(201,0,104,.24),rgba(201,0,104,0) 70%)
}

@keyframes vtiPopupIn {
    from {
        opacity: 0;
        transform: translateY(22px) scale(.975)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.vti-popup-close {
    position: absolute;
    right: 16px;
    top: 15px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    transition: .2s ease;
    box-shadow: 0 8px 22px rgba(0,0,0,.18)
}

.vti-popup-close:hover {
    background: var(--vti-primary);
    border-color: var(--vti-primary);
    color: #fff;
    transform: rotate(90deg)
}

.vti-popup-content {
    position: relative;
    z-index: 2;
    padding: 28px 44px 42px;
}

.vti-popup-heading {
    text-align: center;
    margin-bottom: 25px;
    padding-right: 18px
}

.vti-popup-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(90deg,var(--vti-primary),#d90078);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 8px 17px;
    border-radius: 30px;
    margin-bottom: 13px;
    box-shadow: 0 8px 20px rgba(239,49,57,.2)
}

.vti-popup-heading h2 {
    margin: 0 35px 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -.3px
}

.vti-popup-heading p {
    margin: 0 auto;
    color: rgba(255,255,255,.74);
    font-size: 14px;
    line-height: 1.6;
    max-width: 600px
}

.vti-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.vti-full {
    grid-column: 1/-1
}

.vti-input-wrap {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center
}

.vti-field-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 15px;
    z-index: 2;
    pointer-events: none
}

.vti-field-icon i {
    display: block;
    line-height: 1;
    font-style: normal
}

.vti-icon-name {
    color: #ef3139
}

.vti-icon-email {
    color: #d90078
}

.vti-icon-mobile {
    color: #46358f
}

.vti-icon-service {
    color: #172d63
}

.vti-icon-message {
    color: #c90068
}

.vti-icon-captcha {
    color: #172d63
}

.vti-field input,.vti-field select,.vti-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 11px;
    padding: 11px 15px 11px 47px;
    background: rgba(255,255,255,.96);
    color: var(--vti-text);
    font-size: 14px;
    outline: none;
    transition: .2s ease;
    box-shadow: 0 5px 16px rgba(0,0,0,.08);
    font-family: inherit;
    line-height: 1.35
}

.vti-field select {
    appearance: auto;
    -webkit-appearance: auto;
    padding-right: 36px
}

.vti-field textarea {
    padding-top: 14px;
    min-height: 92px;
    resize: none;
    line-height: 1.45
}

.vti-textarea-wrap .vti-field-icon {
    top: 18px;
    transform: none
}

.vti-field input::placeholder,.vti-field textarea::placeholder {
    color: #69738a
}

.vti-field input:focus,.vti-field select:focus,.vti-field textarea:focus {
    border-color: #ff5360;
    box-shadow: 0 0 0 3px rgba(239,49,57,.2),0 8px 20px rgba(0,0,0,.12)
}

.vti-field small {
    display: block;
    min-height: 15px;
    color: #ffd0d3;
    font-size: 11px;
    margin-top: 4px
}

.vti-captcha-row {
    display: grid;
    grid-template-columns: 150px 44px 1fr;
    gap: 8px;
    align-items: center
}

.vti-captcha-code {
    height: 47px;
    border-radius: 10px;
    background: #fff!important;
    border: 1px solid rgba(255,255,255,.75);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 1.8px;
    font-size: 17px;
    user-select: none;
    box-shadow: 0 5px 16px rgba(0,0,0,.12);
    overflow: hidden;
    line-height: 1;
    direction: ltr
}

.vti-captcha-code .captcha-char {
    display: inline-block;
    line-height: 1!important;
    text-decoration: none!important;
    text-decoration-line: none!important;
    text-decoration-style: none!important;
    text-decoration-color: transparent!important;
    text-shadow: none!important;
    background: transparent!important;
    font-style: normal!important;
    font-weight: 800!important
}

.vti-captcha-code .captcha-char:nth-child(4n+1) {
    color: #172d63!important
}

.vti-captcha-code .captcha-char:nth-child(4n+2) {
    color: #ef3139!important
}

.vti-captcha-code .captcha-char:nth-child(4n+3) {
    color: #c90068!important
}

.vti-captcha-code .captcha-char:nth-child(4n) {
    color: #46358f!important
}

.vti-captcha-refresh {
    height: 47px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.1);
    border-radius: 10px;
    font-size: 23px;
    cursor: pointer;
    color: #fff;
    transition: .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1
}

.vti-captcha-refresh:hover {
    background: var(--vti-primary);
    border-color: var(--vti-primary);
    color: #fff;
    transform: rotate(-20deg)
}

.vti-captcha-input-wrap input {
    padding-left: 47px
}

.vti-form-status {
    min-height: 20px;
    text-align: center;
    color: #fff;
    font-size: 13px;
    margin: 4px 0 8px
}

.vti-form-status.success {
    color: #9ff0c1
}

.vti-form-status.error {
    color: #ffd0d3
}

.vti-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 0;
    border-radius: 11px;
    padding: 11px 18px;
    background: linear-gradient(90deg,var(--vti-primary),#d50070);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: .2s;
    box-shadow: 0 10px 24px rgba(239,49,57,.25)
}

.vti-submit:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(239,49,57,.32)
}

.vti-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none
}

body.vti-popup-open {
    overflow: hidden
}

@media(max-width: 575px) {
    #vtiQuotePopup {
        padding:8px
    }

    .vti-popup-dialog {
        width: 100%;
        max-height: calc(100vh - 16px);
        border-radius: 18px
    }

    .vti-popup-content {
        padding: 24px 14px 20px
    }

    .vti-popup-heading {
        padding-right: 0;
        margin-bottom: 16px
    }

    .vti-popup-heading h2 {
        font-size: 22px;
        margin: 0 8px 6px
    }

    .vti-popup-heading p {
        font-size: 12px;
        line-height: 1.4
    }

    .vti-popup-kicker {
        font-size: 10px;
        padding: 7px 14px;
        margin-bottom: 9px
    }

    .vti-form-grid {
        grid-template-columns: 1fr;
        gap: 7px
    }

    .vti-full {
        grid-column: auto
    }

    .vti-field small {
        min-height: 8px;
        margin-top: 2px
    }

    .vti-field input,.vti-field select {
        padding-top: 11px;
        padding-bottom: 11px
    }

    .vti-field textarea {
        min-height: 68px;
        padding-top: 11px;
        padding-bottom: 11px
    }

    .vti-field-icon {
        left: 13px;
        width: 18px;
        height: 18px;
        font-size: 14px
    }

    .vti-field input,.vti-field select,.vti-field textarea {
        padding-left: 43px
    }

    .vti-captcha-row {
        grid-template-columns: 112px 40px 1fr;
        gap: 6px
    }

    .vti-captcha-code,.vti-captcha-refresh {
        height: 42px
    }

    .vti-captcha-code {
        font-size: 13px;
        letter-spacing: 1.2px
    }

    .vti-captcha-input-wrap input {
        padding-left: 43px
    }

    .vti-popup-close {
        right: 8px;
        top: 8px;
        width: 38px;
        height: 38px;
        font-size: 25px
    }

    .vti-submit {
        padding: 12px 16px;
        font-size: 14px
    }
}
