#ccp-popup-overlay * {
    box-sizing: border-box;
}
#ccp-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#ccp-popup {
    background: #fff;
    max-width: 754px;
    max-height: 476px;
    height: 100%;
    border-radius: 2px;
    text-align: left;
    position: relative;
}

#ccp-close, #ccp-thank-close, #ccp-mobile-close {
    position: absolute;
    top: 16px;
    right: 26px;
    font-size: 24px;
    cursor: pointer;
}

#ccp-popup-overlay .row {
    display: flex;
    flex-wrap: nowrap;
}
.w-38 {
    width: 38%;
}
.w-62 {
    width: 62%;
}
#ccp-popup .image-container {
    background-color: #FFF9EB;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 476px;
    padding: 20px;
}
#ccp-popup .text-container {
    padding: 80px 40px;
}

#ccp-popup .image-container img {
    width: 100%;
    height: auto;
}
#ccp-popup-overlay h2.title {
    font-family: "spirits-soft", sans-serif;
    font-size: 28px;
    line-height: 32px;
    font-weight: 400;
}

#ccp-popup-overlay p.sub-text {
    margin-top: 30px;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
}
.CTAForm_modal_input_container__BpfhS {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* gap: 6px; */
    margin-bottom: 5px;
    margin-top: 16px;
}
.CTAForm_modal_input_container_title__RRYRa {
    color: var(--text-primary, #0a0a0a);
    font-family: var(--font-family-Body, "Fira Sans", sans-serif);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}
.CTAForm_modal_input_container_asterisk__k859W {
    color: var(--Color-Primary-500, #ff385c);
    font-family: Fira Sans;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
}
.CTAForm_modal_input_name__qAcKV {
    border-radius: var(--spacing-4, 4px);
    border: 1px solid var(--components-InputFields-idle-border, #a3a3a3);
    padding: 16px;
    position: relative;
}
.CTAForm_modal_input_name__qAcKV, .CTAForm_modal_input_number__oZBXG {
    background: var(--components-InputFields-background, #fff);
    color: var(--components-InputFields-contained-elements, #0a0a0a);
    font-family: var(--font-family-Body, "Fira Sans", sans-serif);
    font-size: var(--font-size-button-input-button-xs, 14px);
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
}

.callback-button {
    display: flex;
    gap: 10px;
    background-color: #A3A3A3;
    padding: 6px 12px;
    border-radius: 3px;
    color: #ffffff;
    font-family: "Fira Sans", sans-serif;
    position: relative;
    align-items: center;
    cursor: no-drop;
    max-width: 230px;
    margin: auto;
}
.callback-button.active {
    background-color: #0A0A0A;
    cursor: pointer;
}
.item.right-icon {
    position: absolute;
    right: 10px;
}
.item.button-text {
    padding-bottom: 3px;
}
.notice-message {
    font-size: 12px;
    line-height: 18px;
    color: #A3A3A3;
    font-weight: 400;
    margin-bottom: 16px;
}
span.long-pipe:after {
    content: "";
    width: 1.5px;
    height: 24px;
    position: absolute;
    background: #A3A3A3;
    display: inline;
    top: 12px;
}

.error-msg{
    color: #F87171;
    font-size: 14px;
    font-family: "Fira Sans", sans-serif;
    line-height: 20px;
    margin-top: 5px;
}
.CTAForm_modal_input_name__qAcKV.error, .CTAForm_modal_input_name__qAcKV.error #phoneInput {
    color: #F87171;
    border-color: #F87171;
}
.CTAForm_modal_input_name__qAcKV.error .long-pipe:after{
    background-color: #F87171;
}

.error-msg.d-none{
    display: none;
}

#ccp-popup.d-none {
    display: none;
}

#ccpThankyou {
    position: fixed;
    top: calc(50% - 238px);
    left: calc(50% - 377px);
    max-width: 754px;
    max-height: 476px;
    width: 100%;
    height: 100%;
    border-radius: 2px;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 80px 40px;
}
#ccpThankyou span#ccp-close {
    position: absolute;
    top: 16px;
    right: 26px;
    font-size: 24px;
    cursor: pointer;
}
#ccpThankyou h2.thankyou-title {
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
    color: #0a0a0a;
    text-align: center;
    font-family: "spirits-soft", sans-serif;
    margin-bottom: 8px;
}

#ccpThankyou p.sub-title {
    font-size: 16px;
    line-height: 24px;
    font-family: "Fira Sans";
    font-weight: 300;
    color: #262626;
    text-align: center;
    margin-bottom: 40px;
}

.back-btn {
    display: flex;
    gap: 6px;
    cursor: pointer;
    font-family: "Fira Sans";
    font-size: 14px;
    font-weight: 500;
}
.thankyou-icon {
    height: 120px;
    width: 120px;
    object-fit: contain;
    margin-bottom: 16px;
}
#ccpThankyou.d-none{
    display: none;
}
#ccpCallBackMobile {
    display: none;
}

@media (max-width: 768px) {
    #ccp-popup, #ccpThankyou {
        display: none;
    }
    #ccpCallBackMobile {
        display: block;
        width: 325px;
        background-color: #fff;
        position: relative;
    }
    
    .featuredImage {
        background-color: #FFF9EB;
        align-content: center;
        text-align: center;
        padding: 40px 100px 24px 100px;
    }
    .content-box {
        width: 86%;
        margin: auto;
        padding: 24px 0 40px;
        text-align: center;
    }
    #ccp-popup-overlay h2.title {
        font-family: "spirits-soft", sans-serif;
        font-size: 20px;
        line-height: 160%;
        font-weight: 400;
    }
    #ccp-popup-overlay p.sub-text {
        margin-top: 12px;
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        width: 100%;
        margin-bottom: 40px;
    }
    .callback-button {
        display: flex;
        gap: 10px;
        background-color: #0a0a0a;
        padding: 6px 12px;
        width: 90%;
        border-radius: 3px;
        color: #ffffff;
        font-family: "Fira Sans", sans-serif;
        position: relative;
        align-items: center;
        cursor: pointer;
        margin: auto;
    }
    .button-text {
        font-size: 14px;
        line-height: 20px;
        padding-bottom: 3px;
    }
    .callback-button .left-icon img{
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }
}