.ts-leads-popup--container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999998;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

body.ts-leads-popup-active .ts-leads-popup--container.ts-leads-popup {
    display: flex;
}

body.ts-leads-exit-intent-popup-active .ts-leads-popup--container.ts-leads-exit-intent-popup {
    display: flex;
}

html.ts-leads-popup--overflow {
    overflow: hidden !important;
}

.ts-leads-popup--title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
}

.ts-leads-popup--close {
    color: #ffffff;
    position: absolute;
    right: 20px;
    top: 20px;
    opacity: .6;
    pointer-events: none;
}

.ts-leads-popup--container .ts-leads-popup--row {
    display: flex;
    margin-bottom: 30px;
}

.ts-leads-popup--body {
    max-width: 700px;
    width: 100%;
    background: #fff;
    border-radius: 5px;
    padding: 40px;
    margin: 20px;
}

@media screen and (max-width: 720px) {
    .ts-leads-popup--body {
        padding: 20px;
    }
}

.ts-leads-popup--body .ts-leads-popup--inputs {
    justify-content: space-between;
    gap: 20px;
}

@media screen and (max-width: 720px) {
    .ts-leads-popup--body .ts-leads-popup--inputs {
        flex-direction: column;
    }
}

.ts-leads-popup--body .ts-leads-popup--inputs_single {
    width: 100%;
    padding: 13px 15px;
    border-radius: 3px;
    border: none;
    font-size: 16px;
    background: #ebebeb;
    color: #333333;
}

.ts-leads-popup--body .ts-leads-popup--button {
    margin-bottom: 0;
    flex-direction: column;
}

.ts-leads-popup--body .ts-leads-popup--button button {
    width: 100%;
    padding: 13px 15px;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    color: #ffffff;
}

.ts-leads-popup--body .ts-leads-acceptance {
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.ts-leads-popup--body .ts-leads-popup--button button.ts-leads-popup--loading {
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
}

.ts-leads-popup--body .ts-leads-popup--button button.ts-leads-popup--loading .ts-leads-popup--loader {
    display: block;
}

.ts-leads-popup--body .ts-leads-popup--button .ts-leads-popup--loader {
    display: none;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 10px;
    top: 6px;
}

.ts-leads-popup--body .ts-leads-popup--button .ts-leads-popup--loader:after {
    content: " ";
    display: block;
    width: 20px;
    height: 20px;
    margin: 8px;
    border-radius: 50%;
    border: 2px solid;
    border-color: #ffffff transparent #ffffff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

.ts-leads--errors {
    margin-top: 10px;
    text-align: center;
    color: #ff0000;
    display: none;
}

.ts-leads--errors.is-active {
    display: block;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
