/* Firefox Flow Styles - Exact copy from manual-lander */

/* Dark overlay */
body.beforeClass::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, .8);
    z-index: 99;
    overflow: hidden;
}

.beforeClass {
    height: 100vh;
    width: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0;
    bottom: 0;
}

#firstPopup,
#secondPopup,
#yesPopup,
#staticPopup {
    display: none;
}

.main-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 97vw;
}

/* Static Popup (white notification box) */
.ff_arrow_popup {
    position: fixed;
    top: -23px;
    right: 65px;
    font-family: 'DM Sans', sans-serif !important;
    z-index: 99;
}

.ff_arrow_main_container {
    width: 333px;
    height: 133px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 4px 48px rgba(0, 0, 0, 0.15);
    border-radius: 0px 0px 10px 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.popup_text_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
    margin-top: 26px;
}

.popup_icon {
    width: 56px;
    height: 56px;
}

.popup_text_one {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    color: #282828;
    margin: 0px 0px 0px 15px;
}

.popup_txt_edit {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    display: inline-block;
    color: #3070CC;
}

.popup_text_two {
    max-width: 214px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    color: #686868;
    margin: 5px 0 0 15px;
}

.popup_btn {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.popup_cancel_btn {
    border: 1px solid #3070CC;
    filter: drop-shadow(0px 10px 20px rgba(48, 112, 204, 0.2));
    border-radius: 5px;
    width: 85px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
}

.popup_cancel_btn a {
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #3070CC;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup_restart_btn {
    background: #3070CC;
    box-shadow: 0px 10px 20px rgba(48, 112, 204, 0.2);
    border-radius: 5px;
    width: 198px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.popup_restart_btn a {
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #FFFFFF !important;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Blue popup boxes */
.ff_first_v19 .ff-arrow-content,
.ff_first_v19 .ff-arrow-content-with-image {
    width: 500px;
    padding: 30px 40px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
    background: #4169E8;
    border: none;
}

.ff_first_v19 .ff-arrow-content-v2 {
    width: 500px;
    padding: 30px 40px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
    background: #4169E8;
    border: none;
}

.ff_second_v12 .ff-arrow2-content {
    width: 500px;
    padding: 30px 40px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
    background: #4169E8;
    border: none;
}

.ff_second_v12 .ff-arrow2-content-wrapper {
    font-family: 'poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    background: transparent;
}

/* Blue box text styles */
.ff-header {
    font-family: 'poppins', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: #FFFFFF;
    display: block;
    margin-bottom: 10px;
}

.ff-instruction {
    font-family: 'poppins', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4;
    color: #FFFFFF;
    display: block;
}

.ff-highlight {
    font-weight: 700;
    color: #FFFFFF;
}

/* Arrow text container */
.ff_first_v19 .arrow-text,
.ff_first_v19 .arrow-text-v2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ff_first_v19 .ff-arrow-text,
.ff_first_v19 .ff-arrow-text-v2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Arrow positioning */
.ff_first_v19 .overlay-arrow-main-content-wrap,
.ff_first_v19 .overlay-arrow-main-content-wrap-v2 {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    position: absolute;
    z-index: 99999;
}

.ff_first_v19 .overlay-arrow-main-content-wrap {
    top: 257px;
    right: 145px;
}

.ff_first_v19 .overlay-arrow-main-content-wrap-v2 {
    top: 395px;
    right: 16px;
}

.ff_first_v19 .overlay-arrow-main-content-wrap .overlay-arrow-v108,
.ff_first_v19 .overlay-arrow-main-content-wrap-v2 .overlay-arrow-v2-v108 {
    display: block;
    position: absolute;
    right: 21px;
    z-index: 9;
}

.ff_first_v19 .overlay-arrow-main-content-wrap .overlay-arrow-v108 {
    top: -85px !important;
}

.ff_first_v19 .overlay-arrow-main-content-wrap-v2 .overlay-arrow-v2-v108 {
    top: -84px;
}

/* Yes popup positioning */
.firefox_sqrw2 {
    position: absolute;
    top: 175px;
    left: 100px;
}

.ff_second_v12 .overlay-arrow2-main-content {
    display: flex;
    align-items: flex-end;
    position: relative;
    top: 40px;
    z-index: 9999999;
    left: 100px;
}

.ff_second_v12 .overlay-arrow2 {
    z-index: 9;
    position: absolute;
    right: 40px;
    left: auto !important;
    top: -85px !important;
}

/* Arrow Animations */
@keyframes spring2v2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(10px); }
}

@keyframes spring2 {
    0%, 100% { transform: translateY(20px); }
    50% { transform: translateY(5px); }
}

.ff_first_v19 .overlay-arrow-main-content-wrap .overlay-arrow-v108,
.ff_first_v19 .overlay-arrow-main-content-wrap-v2 .overlay-arrow-v2-v108 {
    animation: spring2v2 1s infinite linear !important;
}

.ff_second_v12 .overlay-arrow2 {
    animation: spring2 1s infinite linear !important;
}

/* Responsive "Click Add" arrow positioning */
@media (max-width: 500px) {
    .ff_first_v19 .overlay-arrow-main-content-wrap-v2 { right: 53px; }
}
@media (min-width: 500px) and (max-width: 1000px) {
    .ff_first_v19 .overlay-arrow-main-content-wrap-v2 { right: calc(61px - 1.6vw); }
}
@media (min-width: 1000px) and (max-width: 1500px) {
    .ff_first_v19 .overlay-arrow-main-content-wrap-v2 { right: calc(73px - 2.8vw); }
}
@media (min-width: 1500px) and (max-width: 2400px) {
    .ff_first_v19 .overlay-arrow-main-content-wrap-v2 { right: calc(78px - 3.11vw); }
}
@media (min-width: 2400px) {
    .ff_first_v19 .overlay-arrow-main-content-wrap-v2 { right: 3px; }
}

/* Responsive "Click Yes" arrow positioning */
@media (max-width: 500px) {
    .ff_second_v12 .overlay-arrow2 { right: 136px; }
}
@media (min-width: 500px) and (max-width: 1000px) {
    .ff_second_v12 .overlay-arrow2 { right: calc(193px - 11.4vw); }
}
@media (min-width: 1000px) and (max-width: 1500px) {
    .ff_second_v12 .overlay-arrow2 { right: calc(217px - 13.8vw); }
}
@media (min-width: 1500px) {
    .ff_second_v12 .overlay-arrow2 { right: 10px; }
}

/* Mac positioning */
.forMacCss {
    width: 100vw !important;
}

.forMacCss .ff_first_v19 .overlay-arrow-main-content-wrap {
    right: 35px;
}

.forMacCss .ff_first_v19 .overlay-arrow-main-content-wrap-v2 {
    right: 6px;
    top: 430px;
}

.forMacCss .ff_second_v12 .overlay-arrow2-main-content {
    left: 200px;
}

/* Responsive Mac "Click Yes" arrow positioning */
@media (max-width: 500px) {
    .forMacCss .ff_second_v12 .overlay-arrow2 { right: 150px; }
}
@media (min-width: 500px) and (max-width: 1000px) {
    .forMacCss .ff_second_v12 .overlay-arrow2 { right: calc(179px - 5.8vw); }
}
@media (min-width: 1000px) and (max-width: 1500px) {
    .forMacCss .ff_second_v12 .overlay-arrow2 { right: calc(235px - 11.4vw); }
}
@media (min-width: 1500px) and (max-width: 1800px) {
    .forMacCss .ff_second_v12 .overlay-arrow2 { right: calc(249px - 12.33vw); }
}
@media (min-width: 1800px) {
    .forMacCss .ff_second_v12 .overlay-arrow2 { right: 27px; }
}

/* Responsive popup sizing */
@media (max-width: 800px) {
    .ff_first_v19 .ff-arrow-content,
    .ff_first_v19 .ff-arrow-content-with-image,
    .ff_first_v19 .ff-arrow-content-v2,
    .ff_second_v12 .ff-arrow2-content {
        width: 90vw;
        max-width: 500px;
        padding: 20px 25px;
    }
    .ff-header { font-size: clamp(22px, 5vw, 32px); }
    .ff-instruction { font-size: clamp(14px, 3.5vw, 20px); }
}

@supports (width: 1vw) {
    .ff_first_v19 .ff-arrow-content,
    .ff_first_v19 .ff-arrow-content-with-image,
    .ff_first_v19 .ff-arrow-content-v2,
    .ff_second_v12 .ff-arrow2-content {
        width: min(500px, 90vw);
    }
    .ff-header { font-size: clamp(22px, 3vw, 32px); }
    .ff-instruction { font-size: clamp(14px, 1.8vw, 20px); }
}
