body {
    background-color: #fff;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.seo-hero {
    padding: 70px 100px 140px;
    background-image: url("../assets/images/referral/hero_bg.webp");
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 1024px 1312px;
}

.seo-referral-main {
    max-width: 1085px;
}

.seo-referral-head h1 {
    font-weight: 700;
    font-size: 82px;
    line-height: 108%;
    text-align: center;
    color: #181F35;
    margin-bottom: 4px;
}

.seo-referral-head p {
    font-weight: 400;
    font-size: 24px;
    line-height: 160%;
    text-align: center;
    color: #4A5578;
    margin-bottom: 40px;
}

.seo-referral-video {
    position: relative;
    aspect-ratio: 1085 / 610;
    display: flex;
    margin-bottom: 60px;
}

.seo-referral-video video {
    width: 100%;
    max-height: 610px;
    border-radius: 60px;
}

#video_play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 11;
    border: 2px solid transparent;
    transition: border-color 0.3s ease-out;
    box-sizing: border-box;
}

#video_play img {
    width: 100%;
}

.Contact-icon img {
    width: 163px;
    height: 163px;
}

.Contact-icon {
    position: absolute;
    right: 20px;
    top: -50px;
}

.seo-referral-watermark {
    position: absolute;
    bottom: 32px;
    left: 47px;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 0.9;
}

.watermark-logo {
    width: 30px;
}

.watermark-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0.7;
}

.watermark-content-top {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
}

.watermark-content-bottom {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
}

.seo-hero .icon_btn_wrapper {
    margin-bottom: 40px;
}

.seo-referral-join-text {
    display: flex;
    justify-content: center;
    gap: 7px;
}

.seo-referral-join-text img {
    height: 30px;
    height: 30px;
    margin-top: 2px;
}

.seo-referral-join-text span {
    font-size: 24px;
    line-height: 1.6em;
    font-weight: 400;
    color: #4A5578;
}

/* Work */

.second-section {
    background-color: #031D3D;
    margin: 0 auto;
    padding: 100px 100px 80px;
    border-radius: 60px;
    position: relative;
    z-index: 1;
}

.work-div-main {
    max-width: 1086px;
    margin: 0 auto;
}

.works-head h2 {
    font-weight: 700;
    font-size: 72px;
    line-height: 108%;
    text-align: center;
    color: #ffffff;
    margin: 0;
    margin-bottom: 40px;
}

.slider {
    padding-bottom: 144px;
}

.feedback_nav_wrapper {
    bottom: 70px !important;
}

.feedback_nav_wrapper .feedback_btn_prev {
    background-color: var(--say9-secondary-blue);
}

.feedback_nav_wrapper .feedback_nav_btn.swiper-button-disabled {
    background-color: rgb(7, 125, 253, 0.2);
    cursor: default;
}

.work-right-img {
    max-width: 475px;
    width: 100%;
}

.work-right-img img {
    width: 100%;
}

.work-second-main {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 80px;
    background-color: #C6E1FF;
    box-sizing: border-box;
    border-radius: 32px;
}

.work-left-div {
    max-width: 424px;
    width: 100%;
}

.count {
    font-weight: 700;
    font-size: 26px;
    line-height: 1.4em;
    padding: 16px 12px 12px;
    background-color: #ffffff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 200px;
    color: #181F35;
    margin-bottom: 40px;
}

.work-left-content h2 {
    font-weight: 700;
    font-size: 48px;
    line-height: 1.18em;
    margin-bottom: 4px;
    color: #181F35;
}

.work-left-content p {
    font-weight: 400;
    font-size: 24px;
    line-height: 1.6em;
    color: #4A5578;
}

.work_slider_pagination {
    display: flex;
    justify-content: center;
}

.refer-div-main {
    display: flex;
    /* align-items: center;*/
}

.refer-left-box {
    width: 66%;
}

.refer-right-box {
    width: 34%;
    position: relative;
    z-index: 1;
}

.refer-benefits {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.1em;
    background-color: #031D3D;
    color: #ffffff;
    padding: 6px 14px 4px;
    border-radius: 200px;
    display: inline-block;
}

.Benefits-head h2 {
    font-weight: 700;
    font-size: 82px;
    line-height: 108%;
    color: #181F35;
    margin: 14px 0 40px;
}

.third-section {
    background-color: #C6E1FF;
    padding: 245px 100px 90px;
    border-radius: 0px 0px 60px 60px;
    margin-top: -80px;
    position: relative;
    background-image: url('../assets/images/referral/refer-bg.webp');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 836px 1027px;
    margin-bottom: 170px;
    overflow: hidden;
}

.refer-grid-box {
    background-color: #ffffff;
    padding: 32px;
    border-radius: 24px;
}

.refer-grid-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.refer-grid-head h2 {
    font-weight: 700;
    font-size: 34px;
    line-height: 118%;
    vertical-align: middle;
    margin: 0;
    color: #181F35;
    padding: 18px 0 8px 0;
}

.refer-grid-head p {
    font-weight: 400;
    font-size: 24px;
    line-height: 160%;
    vertical-align: middle;
    margin: 0;
    color: #4A5578;
}

.refer-right-img img {
    width: 100%;
    position: absolute;
    top: 0;
    left: -25px;
}

.third-section>* {
    position: relative;
    z-index: 2;
}

.refer-right-img img {
    z-index: 999;
}

.tablet-img {
    display: none;
}

.mobile-img {
    display: none;
    z-index: 9999;
}


@media (max-width:1600px) {
    .works-head h2 {
        font-size: 60px;
    }

    .Benefits-head h2 {
        font-size: 60px;
    }

    .third-section {
        padding: 200px 100px 100px;
    }

    .refer-grid-head h2 {
        font-size: 30px;
    }

    .refer-grid-img img {
        width: 48px;
    }
}

@media screen and (max-width: 1440px) {
    .seo-referral-head h1 {
        font-size: 70px;
    }

    .refer-grid-head h2 {
        font-size: 26px;
    }

    .refer-grid-head p {
        font-size: 21px;
    }

    .refer-grid-box {
        padding: 24px;
    }
}

@media screen and (max-width: 1350px) {
    .seo-referral-head h1 {
        font-size: 60px;
    }
}

@media screen and (max-width: 1200px) {
    .seo-hero {
        padding: 70px 70px 120px;
    }

    .second-section {
        padding: 100px 70px 80px;
    }

    .work-second-main {
        padding: 40px 60px;
    }

    .work-left-content h2 {
        font-size: 42px;
    }

    .work-left-content p {
        font-size: 21px;
    }

    .third-section {
        padding: 160px 70px 100px;
        margin-top: -60px;
    }
}

@media screen and (max-width: 1024px) {
    .seo-hero {
        padding: 70px 70px 110px;
    }

    .seo-referral-head h1 {
        font-size: 82px;
    }

    .seo-referral-head p {
        font-size: 22px;
    }

    .Contact-icon {
        right: 25px;
        top: -53px;
    }

    .Contact-icon img {
        width: 143px;
        height: 143px;
    }

    .seo-referral-video video {
        border-radius: 32px;
    }

    #video_play {
        width: 90px;
        height: 90px;
    }

    .second-section {
        padding: 80px 70px 100px;
        border-radius: 32px;
    }

    .works-head h2 {
        font-size: 72px;
    }

    .work-second-main {
        flex-direction: column;
        height: 766px;
    }

    .work-left-div {
        max-width: 100%;
    }

    .work-right-img {
        max-width: 100%;
    }

    .work-right-img img {
        width: 475px;
        margin: 0 auto;
    }

    .third-section {
        padding: 160px 70px 0px 70px;
        margin-bottom: 110px;
        border-radius: 32px;
    }

    .refer-div-main {
        display: block;
    }

    .refer-left-box {
        width: 100%;
    }

    .refer-right-img img {
        position: unset;
        width: 100%;
    }

    .refer-right-img {
        margin-left: auto;
    }

    .refer-div-main {
        display: block;
    }

    .refer-left-box {
        width: 100%;
    }

    .refer-right-box {
        margin-left: auto;
        width: 580px;
        margin-top: -80px;
        left: 110px;
    }

    .refer-grid-main {
        z-index: 9999;
    }

    .refer-grid-box {
        z-index: 999;
    }

    .refer-right-img {
        position: relative;
        top: 2px;
    }

    .destop-img {
        display: none;
    }

    .tablet-img {
        display: block;
    }
}

@media screen and (max-width: 850px) {

    .seo-referral-head h1,
    .works-head h2 {
        font-size: 60px;
    }

    .refer-right-box {
        left: 170px;
    }

    .refer-right-img img {
        max-width: 500px;
    }
}

@media screen and (max-width: 768px) {
    .seo-hero {
        padding: 30px 16px 60px;
    }

    .seo-referral-head h1 {
        font-size: 48px;
    }

    .seo-referral-video {
        margin-bottom: 24px;
    }

    .seo-referral-head {
        padding: 0 20px;
    }

    .seo-referral-video video {
        border-radius: 24px;
    }

    .Contact-icon img {
        width: 78px;
        height: 78px;
    }

    .Contact-icon {
        top: -25px;
        right: 27px;
    }

    .seo-referral-watermark {
        bottom: 16px;
        left: 22px;
    }

    .second-section {
        padding: 80px 16px 60px;
    }

    .works-head h2 {
        font-size: 48px;
    }

    .work-second-main {
        padding: 32px 20px 24px;
    }

    .work-left-content p {
        font-size: 24px;
    }

    .third-section {
        padding: 140px 16px 0px;
        margin-bottom: 60px;
    }

    .mobile-img {
        display: block;
    }

    .tablet-img {
        display: none;
    }

    .refer-left-box {
        width: 100%;
    }

    .refer-right-img img {
        max-width: 100%;
        max-height: 300px;
    }

    .refer-grid-main {
        grid-template-columns: repeat(1, 1fr);
        width: 100%;
    }

    .refer-grid-box {
        padding: 32px 20px;
    }

    .refer-grid-head h2 {
        font-size: 34px;
    }

    .refer-grid-head p {
        font-size: 24px;
    }

    .refer-div-main {
        display: block;
    }

    .refer-right-box {
        width: fit-content;
        left: 0;
        margin-top: 0;
    }

    .refer-right-img {
        width: fit-content;
    }

    .refer-right-img img {
        width: fit-content;
    }

    .Benefits-head h2 {
        font-size: 48px;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 600px) {
    .Contact-icon {
        top: -39px;
        right: 0;
    }

    .seo-referral-video video {
        border-radius: 12px;
    }

    #video_play {
        width: 60px;
        height: 60px;
    }

    .seo-referral-watermark {
        gap: 8px;
        left: 15px;
        bottom: 10px;
    }

    .watermark-content {
        gap: 2px;
    }

    .watermark-content-top {
        font-size: 7px;
        line-height: 8px;
    }

    .watermark-content-bottom {
        font-size: 8px;
        line-height: 9px;
    }

    .watermark-logo {
        width: 14px;
    }

    .seo-referral-join-text span {
        font-size: 19px;
    }

    .second-section {
        padding: 40px 16px 60px;
    }

    .works-head h2 {
        font-size: 42px;
        margin-bottom: 36px;
    }

    .work-second-main {
        height: 570px;
        border-radius: 24px;
    }

    .count {
        width: 44px;
        height: 44px;
        padding: 7px 12px 3px;
        font-size: 26px;
        margin-bottom: 24px;
    }

    .work-left-content h2 {
        font-size: 36px;
    }

    .work-left-content p {
        font-size: 21px;
    }

    .work-right-img img {
        max-width: 310px;
        width: 100%;
    }

    .third-section {
        border-radius: 24px;
    }
}

@media screen and (max-width: 480px) {
    .works-head h2 {
        font-size: 34px;
    }

    .work-second-main {
        height: 610px;
    }

    .work-left-content h2 {
        font-size: 30px;
    }

    .work-left-content p {
        font-size: 19px;
    }
}

/* Referral Popup */

#referral_popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    z-index: 10999999999999000;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#referral_popup.active {
    opacity: 1;
    pointer-events: auto;
}

#referral_filter {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    background-color: rgba(217, 217, 217, 0.14);
    opacity: 0;
    z-index: 100;
    transition: backdrop-filter 0.4s ease, opacity 0.4s ease;
}

#referral_popup.active #referral_filter {
    opacity: 1;
}

#popup_inner {
    width: 100%;
    max-width: 587px;
    border-radius: 32px;
    background-color: #C6E1FF;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 60px 60px 40px;
    overflow: hidden;
    z-index: 150;
    transform: translateZ(0) scale(0.8);
    -webkit-transform: translateZ(0) scale(0.8);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    -webkit-transition: transform 0.5s ease, opacity 0.5s ease;
}

#referral_popup.active #popup_inner {
    transform: scale(1);
    opacity: 1;
}

#popup_inner .ff-el-group.ff-custom_html {
    margin-bottom: 40px;
}

#popup_inner .popup_title {
    color: #181F35;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.18em;
    margin-bottom: 14px;
}

#popup_inner .popup_list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 14px;
}

#popup_inner .popup_item {
    display: flex;
    gap: 14px;
}

#popup_inner .popup_item_icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
}

#popup_inner .popup_item_txt {
    color: #4A5578;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.6em;
}

#popup_inner .popup_info {
    color: #4A5578;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.1em;
    margin-bottom: 40px;
}

#popup_inner .title {
    font-size: 48px;
    line-height: 1.2em;
    font-weight: 700;
    color: var(--say9-default-text-blue);
    margin-bottom: 4px;
    text-align: left;
}

#popup_inner .ff-message-success .thank_you_txt {
    font-size: 24px;
    color: #4A5578;
    font-weight: 400;
    line-height: 1.6em;
    text-align: center;
}

#popup_inner .ff-message-success .thank_you_item {
    margin-bottom: 60px;
}

#popup_inner>.form {
    z-index: 2;
}

#popup_inner>.form label {
    color: #7F88A2;
    font-size: 16px;
    line-height: 1.2em;
    font-weight: 600;
    transition: color 0.3s ease-in-out;
}

#popup_inner>.form label:after {
    content: none;
}

#popup_inner>.form input {
    position: relative;
    color: #4A5578;
    border-radius: 12px;
    border: 2px solid transparent;
    /* padding: 11px 12px 8px 40px; */
    padding: 2px 12px 0 40px;
    font-size: 19px;
    line-height: 44px;
    background-color: #F6FAFF;
    /* line-height: 1.4em; */
    transition: border-color 0.7s ease-in-out;
}

#popup_inner>.form input:active,
#popup_inner>.form input:focus {
    border-color: #99CAFF;
}

#popup_inner .form input:-webkit-autofill {
    -webkit-text-fill-color: #4A5578 !important;
    color: #4A5578 !important;
    background-color: #F6FAFF !important;
    background-clip: content-box !important;
    box-shadow: 0 0 0 1000px #F6FAFF inset !important;
    border: none !important;
    appearance: none;
    -webkit-appearance: none;
}

#popup_inner>.form input::placeholder {
    color: #B9C0D4;
    transition: color 0.3s ease-in-out;
}

#popup_inner>.form .ff-el-input--content {
    position: relative;
}

#popup_inner>.form svg {
    width: 20px;
    height: 20px;
    display: inline-block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 12px;
    z-index: 1;
    pointer-events: none;
}

#popup_inner>.form svg path {
    transition: stroke-opacity 0.15s ease-in-out;
}

#popup_inner>.form svg.active path {
    stroke-opacity: 1;
}

#popup_inner>.form button[type="submit"] {
    background-color: var(--say9-primary-blue);
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 600;
    line-height: 1em;
    border-radius: 200px;
    text-align: center;
    padding: 16px 20px 12px;
    width: 100%;
    transition: background-color 0.3s ease-in-out, padding 0.3s ease-in-out;
}

#popup_inner>.form button[type="submit"]:hover,
#popup_inner>.form button[type="submit"]:focus {
    opacity: 1;
    background-color: #10335F;
}

#popup_inner>.form button[type="submit"]:active {
    padding: 14px 20px 10px;
}

#popup_inner>.form button[type="submit"]:active+.loader-wrapper {
    top: -2px;
}

#popup_inner .ff_submit_btn_wrapper {
    margin: 20px 0 0;
    height: 52px;
}

#popup_inner:has(.ff-el-is-error) .ff_submit_btn_wrapper button[type="submit"]:active,
#popup_inner:has(.ff-el-is-error) .ff_submit_btn_wrapper button[type="submit"]:focus {
    padding: 16px 20px 12px;
}

#popup_inner .referral_form_input {
    margin-bottom: 12px;
    height: 101px;
}

#popup_inner .referral_form_input:not(.ff-el-is-error) .text-danger.error {
    display: none;
}

#popup_inner .ff-el-group.ff-el-is-error input:active,
#popup_inner .ff-el-group.ff-el-is-error input:focus {
    border-color: #F22B1D !important;
}

.referral_form_website.ff-el-is-error .ff-el-input--content::before {
    transition: border-color 0.3s ease-in-out;
}

.referral_form_website.ff-el-is-error .ff-el-input--content:focus-within::before {
    border-color: #F22B1D !important;
}

#popup_inner .ff-el-group.ff-el-is-error label {
    color: #D92D20;
}

#popup_inner .ff-el-group.ff-el-is-error .text-danger {
    margin: 6px 0 0;
    color: #D92D20;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    line-height: 1.1em;
}

#popup_inner.thank_you {
    padding: 60px 60px 40px;
}

#popup_inner.thank_you .popup_title,
#popup_inner.thank_you .popup_list,
#popup_inner.thank_you .popup_info {
    display: none;
}

#popup_inner .ff-message-success {
    border: none;
    box-shadow: none;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    padding: 0;
}

#popup_inner .ff-message-success .thank_you {
    text-transform: none;
    text-align: center;
    margin-bottom: 12px;
}

#popup_inner .ff-message-success .thank_you_btn {
    height: 52px;
}

#popup_inner .ff-message-success button {
    width: 100%;
    text-align: center;
    border: none;
    outline: none;
    border-radius: 200px;
    margin: auto;
    padding: 17px 20px 13px;
    background-color: var(--say9-secondary-blue);
    color: #fff;
    font-weight: 600;
    font-size: 22px;
    line-height: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, padding 0.3s ease-in-out;
}

#popup_inner .ff-message-success button:hover {
    background-color: #63AEFF;
}

#popup_inner .ff-message-success button:active {
    padding: 15px 20px 11px;
}

#popup_inner .ff-message-success .thank_you_bottom,
#popup_inner .ff-message-success .thank_you_bottom span {
    color: var(--say9-default-text-blue);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.1em;
}

#popup_inner .ff-message-success .thank_you_links {
    margin-top: 10px;
    display: flex;
    column-gap: 10px;
    align-items: center;
    justify-content: center;
}

#popup_close {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    cursor: pointer;
    z-index: 10;
}

#popup_close svg path {
    transition: stroke 0.3s ease-in-out;
}

#popup_close svg:hover path {
    stroke: #4A5578;
}

#referral_popup .fluentform .ff-el-input--label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

#popup_inner .thank_you_icon {
    width: 30px;
    height: 30px;
    background-image: none;
    border-radius: 50%;
    transition: background-color 0.3s ease-in-out;
}

#popup_inner .thank_you_icon:hover {
    background-color: #FFFFFF;
}

#popup_inner .thank_you_icon img {
    display: block;
}

.referral_form_website .ff-el-input--content::before {
    content: "http://";
    position: absolute;
    height: 100%;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.4em;
    padding: 12px 12px 8px;
    color: #7F88A2;
    z-index: 1;
    border-right: 1px solid #D0D5DD;
}

#popup_inner .referral_form_input .ff-el-input--content::after {
    content: "";
    width: 16px;
    height: 16px;
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background-image: url('../assets/images/input-alert-icon.svg');
    display: none;
}

#popup_inner .referral_form_input.ff-el-is-error .ff-el-input--content::after {
    display: block;
}

#popup_inner .referral_form_website input {
    padding-left: 90px;
}

@media screen and (max-width: 1880px) {
    #popup_inner {
        padding: 40px 50px 20px;
    }

    #popup_inner .thank_you_txt {
        font-size: 22px;
    }

    #popup_inner .ff_submit_btn_wrapper {
        margin-top: 30px;
    }

    #popup_inner .ff-el-group.ff-custom_html {
        margin-bottom: 30px;
    }
}


@media screen and (max-width: 1620px) {
    #popup_inner .referral_form_input {
        height: 97px;
    }

    #popup_inner>.form input {
        line-height: 40px;
    }
}

@media screen and (max-width: 1440px) {
    #popup_inner {
        padding: 30px 50px 20px;
    }

    #popup_inner .title {
        font-size: 42px;
    }

    #popup_inner .thank_you_txt {
        font-size: 19px;
    }
}

@media screen and (max-width: 1200px) {
    #popup_inner {
        padding: 30px 40px 20px;
    }

    #popup_inner .popup_title {
        font-size: 36px;
    }

    #popup_inner .popup_item_txt {
        font-size: 21px;
    }

    #popup_inner .popup_item_icon,
    #popup_inner .popup_item_icon svg {
        width: 30px;
        height: 30px;
    }

    #popup_inner .popup_info {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 1024px) {
    #popup_inner .popup_list {
        gap: 7px;
    }

    #popup_inner .title {
        font-size: 38px;
    }

    #popup_inner>.form button[type="submit"] {
        font-size: 22px;
        padding: 12px 20px 8px;
    }

    #popup_inner:has(.ff-el-is-error) .ff_submit_btn_wrapper button[type="submit"]:active,
    #popup_inner:has(.ff-el-is-error) .ff_submit_btn_wrapper button[type="submit"]:focus {
        padding: 12px 20px 8px;
    }

    #popup_inner>.form button[type="submit"]:active,
    #popup_inner>.form button[type="submit"]:focus {
        padding: 10px 20px 6px;
    }

    #popup_inner .ff_submit_btn_wrapper {
        height: 44px;
    }

    #popup_inner .ff-message-success .thank_you_btn {
        height: 44px;
    }

    #popup_inner .ff-message-success button {
        padding: 13px 20px 9px;
    }

    #popup_inner .ff-message-success button:active {
        padding: 11px 20px 7px;
    }
}

@media screen and (max-width: 768px) {
    #popup_inner .ff-el-group.ff-custom_html {
        margin-bottom: 20px;
    }

    #popup_inner .popup_title {
        font-size: 32px;
    }

    #popup_inner .popup_item {
        gap: 10px;
    }

    #popup_inner .popup_item_txt {
        font-size: 18px;
    }

    #popup_inner .popup_item_icon,
    #popup_inner .popup_item_icon svg {
        width: 25px;
        height: 25px;
    }

    .slider {
        padding-bottom: 54px;
    }
}

@media screen and (max-width: 600px) {
    #popup_inner {
        padding: 40px 20px 20px;
        border-radius: 24px;
    }

    #popup_inner .popup_item_icon,
    #popup_inner .popup_item_icon svg {
        width: 20px;
        height: 20px;
    }

    #popup_inner .popup_item_txt {
        font-size: 16px;
        line-height: 1.4em;
    }

    #popup_inner.thank_you {
        padding: 60px 30px 30px;
    }

    #popup_inner .ff-message-success .thank_you_bottom {
        margin-top: 40px;
    }

    #popup_inner .ff_submit_btn_wrapper {
        margin-top: 0;
    }

    #popup_inner .title {
        font-size: 34px;
    }

    #popup_inner .thank_you_txt {
        font-size: 16px;
        line-height: 1.4em;
    }

    #popup_inner .referral_form_website input {
        padding-left: 80px;
    }

    #popup_inner>.form input,
    .referral_form_website .ff-el-input--content::before {
        font-size: 16px;
    }

    #popup_inner>.form svg {
        width: 18px;
        height: 18px;
    }

    #popup_inner .ff-message-success .thank_you_btn {
        height: 40px;
    }

    #popup_inner .ff-message-success button {
        font-size: 18px;
    }

    #popup_close {
        top: 12px;
        right: 12px;
    }
}

@media screen and (max-width: 480px) {
    #popup_inner .popup_title {
        font-size: 26px;
    }

    #popup_inner .ff_submit_btn_wrapper {
        height: 40px;
    }

    #popup_inner>.form button[type="submit"] {
        font-size: 18px;
    }
}

@media screen and (max-width: 390px) {
    #popup_inner {
        padding: 30px 20px 10px;
    }

    #popup_inner .referral_form_input {
        height: 90px;
    }

    #popup_inner .ff-el-group.ff-custom_html {
        margin-bottom: 10px;
    }

    #popup_inner .referral_form_input {
        margin-bottom: 12px;
    }

    #popup_inner .ff-el-group.ff-el-is-error .text-danger {
        margin-top: 4px;
    }

    #popup_inner .ff-el-group.ff-el-is-error .text-danger {
        font-size: 11px;
    }

    #popup_inner .thank_you_txt {
        font-size: 14px;
    }

    #popup_close svg {
        width: 30px;
        height: 30px;
    }

    #popup_inner>.form input {
        /* padding: 8px 12px 5px 40px */
        line-height: 34px;
    }

    #popup_inner .referral_form_website input {
        padding-left: 80px;
    }

    .referral_form_website .ff-el-input--content::before {
        padding: 10px 12px 8px;
    }
}