@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.leaving-popup-overlay {
    --leaving-popup-gap: 7.5px;
    display: none;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    cursor: pointer;
    font-family: "Inter", sans-serif;
}

.leaving-popup {
    position: relative;
    width: 100%;
    max-width: 800px;
    padding: 25px;
    background-color: #FFF;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: calc(var(--leaving-popup-gap) * 2);
}

.leaving-popup .close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.leaving-popup-heading {
    display: flex;
    justify-content: space-between;
    gap: calc(var(--leaving-popup-gap) * 2);
}

.leaving-popup-img {
    min-width: 340px;
    background-image: url(/popup/leaving/leaving.jpeg);
    background-size: cover;
    background-position: top center;
    border-radius: 16px;
}

.leaving-popup-text {
    display: flex;
    flex-direction: column;
    gap: var(--leaving-popup-gap);
}

.leaving-popup-title {
    font-size: 29px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.leaving-popup-sub {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
}

.leaving-popup-p {
    font-size: 14.65px;
    line-height: 1.4;
    color: #000;
}

.form-cols {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--leaving-popup-gap) * 2);
}

.form-cols > * {
    width: 100%;
}

.form-cols .left-col {
    max-width: 340px;
}

.leaving-popup .row {
    margin-bottom: calc(var(--leaving-popup-gap) * 1.5);
    gap: var(--leaving-popup-gap);
}

#leaving-popup-form {
    gap: 0;
}

.leaving-popup input,
.leaving-popup select,
.leaving-popup textarea {
    background-color: #FFF;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 18px;
    font-family: inherit;
}

.leaving-popup textarea {
    height: auto;
}

.leaving-popup .iti__selected-flag {
    background-color: rgba(0, 0, 0, 0.05);
}

.leaving-popup .iti--allow-dropdown input {
    color: #000;
    padding-left: 105px!important;
}

.leaving-popup .iti__selected-dial-code {
    font-size: 18px;
}

.leaving-popup input::placeholder,
.leaving-popup textarea::placeholder {
    color: #000;
}

.leaving-popup button.cta {
    width: auto;
    padding: 13.5px 30px;
    font-size: 18px;
    background-color: #eab96b;
    border: 1px solid #eab96b;
    border-radius: 6px;
}

.leaving-popup button.cta:hover {
    background-color: #FFF;
    color: #eab96b;
}

.leaving-popup .row.last-row {
    flex-direction: row-reverse;
    margin-bottom: 0;
}

.leaving-popup-privacy {
    color: #000;
}

@media (max-width: 900px) {
    .leaving-popup {
        border-radius: 0;
    }
    .leaving-popup-heading {
        flex-direction: column;
    }
    .leaving-popup-img {
        display: none;
    }
    .leaving-popup-privacy {
        font-size: 16px;
    }
}

@media (max-width: 700px) {
    .leaving-popup-overlay {
        --leaving-popup-gap: 10px;
    }
    .leaving-popup-title {
        font-size: 25px;
        margin-right: 25px;
    }
    .leaving-popup-sub {
        font-size: 20px;
    }
    .form-cols {
        flex-direction: column;
        gap: 0;
    }
    .form-cols .left-col {
        width: 100%;
        max-width: 100%;
    }
    .leaving-popup .row {
        margin-bottom: var(--leaving-popup-gap);
    }
    .leaving-popup input,
    .leaving-popup select,
    .leaving-popup textarea,
    .leaving-popup .iti__selected-dial-code {
        font-size: 16px;
    }
    .leaving-popup .iti--allow-dropdown input {
        padding-left: 100px!important;
    }
    .leaving-popup .row.last-row {
        flex-direction: column;
    }
    .leaving-popup button.cta {
        width: 100%;
    }
    .leaving-popup-privacy {
        font-size: 14px;
    }
}