.ctPopup {
    border-radius: 20px;
    padding: 40px;
    background-color: #000;
    gap: 24px;
    width: 560px;
    box-shadow: 0px 4px 4px 0px #00000021;
    opacity: 0;
    z-index: -1;
    visibility: hidden;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border: 1px solid #FF9549;
}
.ctPopup.visible {
    opacity: 1;
    z-index: 9999999999;
    visibility: visible;
}
.ctPopup__close {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer;
}
.ctPopup__close svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ctPopup__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.ctPopup__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ctPopup__title {
    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
}

.ctPopup__subtitle {
    font-weight: 300;
    font-size: 16px;
    line-height: 120%;
}
.ctPopup__items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ctPopup__item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ctPopup__item label {
    font-size: 14px;
    line-height: 100%;
}
.ctPopup__item .ctPopup__input {
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 14px 20px;
    width: 100%;
    background-color: #EFEFEF;
    border: 1px solid #EFEFEF;
    outline: none;
    font-size: 16px;
    font-weight: 300;
    color: #000000;
    height: 50px;
}
.ctPopup__item .ctPopup__input::placeholder {
    color: #0000004D;
}
.ctPopup__item .ctPopup__input:hover,
.ctPopup__item .ctPopup__input:focus {
    border-color: #FF9549;
}
.ctPopup__item button[type="submit"].ctPopup__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    background-color: #FF9549;
    padding: 14px 30px;
    border-radius: 10px;
    gap: 6px;
    font-weight: 300;
    font-size: 16px;
    line-height: 100%;
    color: #FFF;
    border: 1px solid #FF9549;
    cursor: pointer;
    transition: .4s all ease;
}
.ctPopup__item button[type="submit"].ctPopup__btn span {
    font-weight: 300;
    font-size: 16px;
    line-height: 100%;
    color: #FFF;
    transition: .4s all ease;
}
.ctPopup__item button[type="submit"].ctPopup__btn svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    object-fit: contain;
    transition: .4s all ease;
}
.ctPopup__item button[type="submit"].ctPopup__btn:hover {
    border-color: #FF9447;
    background-color: #000;
    transition: .4s all ease;
}
.ctPopup__item button[type="submit"].ctPopup__btn:hover span {
    color: #fff;
}
.ctPopup__checkboxWrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.ctPopup__checkbox {
    display: block !important;
    width: 19px;
    height: 19px;
    margin: 0;
    border: 1px solid #FF9549;
    border-radius: 4px;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.ctPopup__checkbox:checked {
    background-color: #FF9549;
}

.ctPopup__checkbox:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.ctPopup__checkboxText {
    font-size: 12px;
    font-weight: 300;
    line-height: 120%;
}
.ctPopup__checkboxText a {
    font-size: 12px;
    font-weight: 300;
    line-height: 120%;
    color: #FF9549;
    text-decoration: none;
    transition: all .3s ease;
}
.ctPopup__checkboxText a:hover {
    text-decoration: underline;
}

.ctWidget {
    position: fixed;
    width: 64px;
    height: 64px;
    right: 24px;
    bottom: 128px;
    z-index: 10001;
    cursor: pointer;
}

.ctWidget svg {
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform: translateZ(0);
    will-change: transform;
    animation: widgetPulse 3s ease-in-out infinite;
}

@keyframes widgetPulse {
    0%, 100% {
        transform: translateZ(0) scale(1);
    }
    50% {
        transform: translateZ(0) scale(1.06);
    }
}


@media (max-width: 767px){
    .ctPopup {
        top: unset;
        transform: unset;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 32px 16px 16px;
        border-radius: 20px 20px 0 0;
    }
    .ctPopup__title {
        font-size: 18px;
    }
    .ctPopup__subtitle {
        font-size: 14px;
    }
}