.ia-popup {
    background: #00000080;
    font-family: 'Aeroport', sans-serif !important;
    font-weight: 300;
    letter-spacing: 0;
    word-break: break-word;
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 9999;
    padding: 80px 20px;
    overflow-y: auto;
    color: var(--color-primary);
}

.ia-popup.is-active {
    display: flex;
}

.ia-popup.is-success {

    & .ia-popup__form {
        display: none;
    }

    & .ia-popup__success {
        display: block;
    }
}

.ia-popup__wrapper {
    position: relative;
    width: 100%;
    max-width: 620px;
    margin: auto;
    padding: 20px;
    background: var(--color-default);
    border-radius: var(--border-radius-default);
}

.ia-popup__title {
    margin-bottom: 40px;
    padding-right: 40px;
    font-size: 20px;
    line-height: 120%;
}

.ia-popup__close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    width: 24px;
    height: 24px;
	cursor: pointer;

    & svg {
        fill: var(--color-primary);
        transition: var(--transition-default);
    }
}

.ia-popup__form {
    & .login-form__phone-input {
        margin-bottom: 4px;
    }

    & .login-form__phone-input .location-select {
        left: 1.6rem;
    }

    & .login-form__phone-input .ia-form__input {
        padding-left: 7rem;
    }

    & .ia-form__input {
        font-size: 14px;
    }
}

.ia-popup__politics {
    margin-top: 6px;
    font-size: 14px;
    line-height: 140%;
    width: 98%;

    & a {
        text-decoration: underline;
    }
}

.ia-popup__btn {
    margin-top: 40px;
    width: 100%;
}

.ia-popup__success {
    display: none;
}

.ia-popup__success-title {
    font-size: 14px;
    line-height: 140%;
    color: var(--color-accent);
    margin-bottom: 6px;
}

.ia-popup__success-message {
    font-size: 12px;
    line-height: 140%;
}

.ia-popup__success-btn {
    width: 100%;
    margin-top: 40px;
}

.ia-popup__close:active {
	& svg {
		fill: var(--color-accent);
	}
}

@media screen and (min-width: 1024px) and (hover: hover) {
	.ia-popup__close:hover {
		& svg {
			fill: var(--color-accent);
		}
	}

}

@media screen and (max-width: 1240px) {
    .ia-popup {
        background: #000000B2;
    }
}