.fcom_mobile_onboarding_app{
}

.fcom_mobile_onboarding_app_card {
    margin: 40px auto 0;
    background-color: #f4f4f5;
    border: 1px solid rgb(229, 231, 235);
    background-image: linear-gradient(to bottom right, #f4f4f5, #f4f4f5 50%, #f4f4f5 50%, #f4f4f5);
    box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px #0000000d;
    border-radius: 8px;
    padding: 10px;
}

.fcom_mobile_content_wrapper{
    background-color: white;
    padding: 10px;
    border-radius: 4px;
}
.fcom_mobile_license_status{
    border: 1px solid #ddd;
    border-radius: 4px;
}
.fcom_mobile_header_title {
    font-size: 20px;
    font-weight: 600;
}
.text-center {
    text-align: center;
}
.fcom_connect_app .mt-0{
    margin-top: 0px;
}

.fcom_connect_app .mt-1{
    margin-top: 0.25rem !important;
}
.fcom_connect_app .mt-2{
    margin-top: 0.5rem !important;
}
.fcom_connect_app .mt-3{
    margin-top: 0.75rem !important;
}

.fcom_connect_app .my-0{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.fcom_connect_app .my-1{
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}
.fcom_connect_app .my-2{
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}
.fcom_connect_app .pb-0{
    padding-bottom: 0 !important;
}

.fcom_connect_app .pb-2{
    padding-bottom: 0.5rem !important;
}

.fcom_connect_app .pb-3{
    padding-bottom: 0.75rem !important;
}
.fcom_connect_app .py-2{
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.fcom_connect_app .flex {
    display: flex;
    gap: 25px;
}

.fcom_connect_app .column {
    flex: 1;
    padding: 15px;
    background-color: rgb(245, 248, 249);
    border-radius: 4px;
}
.fcom_connect_app .mb-0{
    margin-bottom: 0 !important;
}
.fcom_connect_app .mb-1 {
    margin-bottom: 0.25rem !important;
}
.fcom_connect_app .border-bottom{
    border-bottom: 1px solid #E1E4EA
}

.fcom_connect_app .tab {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    overflow: hidden;
    padding-top: 12px;
    padding-bottom: 8px;
}

/* Style the buttons that are used to open the tab content */
.fcom_connect_app .tab button {
    background-color: inherit;
    /*float: right;*/
    border: none;
    outline: 1px solid #ccc;
    cursor: pointer;
    padding: 12px 16px;
    transition: 0.3s;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

/* Change background color of buttons on hover */
.fcom_connect_app .tab button:hover {
    background-color: #ED7D31;
    color: white;
}

/* Create an active/current tablink class */
.fcom_connect_app .tab button.active {
    background-color: #ED7D31;
    color: white;
}

/* Style the tab content */
.fcom_connect_app .tabcontent {
    display: none;
    padding: 12px;
    /*border: 1px solid #ccc;*/
    /*border-top: none;*/
}
.fcom_mobile_license_status .active {
    display: block;
}

#wpModal {
    display: none;
}
/* Background Overlay */
#wpModal.active {
    display: block;
    z-index: 9999;
}
/* Close Button */
#closeModalBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 20px;
    line-height: 1;
    color: #64748B;
    background: #F1F5F9;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 150ms ease, color 150ms ease;
}
#closeModalBtn:hover {
    background: #E2E8F0;
    color: #1A202C;
}
.fcom_connect_app .font-16{
    font-size: 16px;
}
.fcom_connect_app .font-14{
    font-size: 14px;
}
.fcom_connect_app .font-18{
    font-size: 18px;
}
.fcom_connect_app .font-12{
    font-size: 12px;
}

.fcom_connect_app .button-primary {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
    text-decoration: none;
    text-shadow: none;
    display: inline-block;
    font-size: 13px;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 5px;
    white-space: nowrap;
    box-sizing: border-box;
}
.fcom_connect_app .button-primary:hover {
    background: #135e96;
    border-color: #135e96;
    color: #fff;
}

.fcom_mobile_purchase_section{
    position: absolute;
    top: 45%;
    /* left: 100px; */
    transform: translate(67%, -48%);
    text-align: left;
    width: 570px;
}


.app-guide {
    position: relative;
    width: 100%;
    height: 210px;
    margin: 0 auto;
    background-size: contain; /* or 'cover' if you want full fill */
    border-radius: 5px;
}

.app-guide .step-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: "Inter", sans-serif;
    color: #000;
    text-align: center;
}

.app-guide .badge-text {
    position: absolute;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: black;
    font-weight: 600;
    pointer-events: auto;
    text-align: center;
    white-space: nowrap;
}

.app-guide .step1, .app-guide .step2, .app-guide .done {
    position: absolute;
    width: 33%;
}

.app-guide .step1 {
    top: 57%;
    left: 3%;
    transform: translateY(-50%);
}

.app-guide .step2 {
    top: 57%;
    left: 35%;
    transform: translateY(-50%);
}

.app-guide .done {
    top: 57%;
    right: 1%;
    transform: translateY(-50%);
    color: #fff;
}

.app-guide h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.app-guide p {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}
.fcom_connect_app .w-100{
    width: 100%;
}

.openModalBtn {
    margin-right: 10px;
    background-color: transparent;
    border: 1px solid;
    border-radius: 5px;
    padding: 6px 10px;
    min-width: max-content;
    margin-top: 3px;
}
@media (max-width: 767px) {
    #openModalBtnDesktop { display: none; }

    .openModalBtn {
        margin-right: 5px;
        background-color: transparent;
        border: 0!important;
        border-radius: 0;
        padding: 0;
        min-width: max-content;
        margin-top: 0;
    }
}

@media (min-width: 768px) {
    #openModalBtnMobile {
        display: none;
    }
}

/* ===========================================================
   Compact "Connect Mobile App" modal
   =========================================================== */
.fcom_qr_dialog {
    max-width: 700px;
    border-radius: 12px;
    box-sizing: border-box;
}

.fcom_qr_modal {
    padding: 24px;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1A202C;
}

/* Header */
.fcom_qr_modal_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.fcom_qr_modal_header_left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.fcom_qr_modal_icon {
    color: #5F9EA0;
    flex-shrink: 0;
}
.fcom_qr_modal_title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #1A202C;
}

/* Trial banner */
.fcom_qr_trial_banner {
    position: relative;
    margin-bottom: 18px;
    border-radius: 8px;
    overflow: hidden;
}
.fcom_qr_trial_bg {
    display: block;
    width: 100%;
    border-radius: 8px;
}
.fcom_qr_trial_content {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    width: 55%;
    text-align: left;
}
.fcom_qr_trial_title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 2px;
}
.fcom_qr_trial_subtitle {
    font-size: 12px;
    font-weight: 500;
    color: #64748B;
    margin: 0 0 8px;
}
.fcom_qr_trial_text {
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 12px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.fcom_qr_trial_btn {
    font-size: 12px !important;
    padding: 4px 14px !important;
    min-height: 0 !important;
    line-height: 1.6 !important;
    border-radius: 6px !important;
    text-align: center;
}

/* Steps */
.fcom_qr_step {
    margin-bottom: 4px;
}
.fcom_qr_step_head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.fcom_step_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #5F9EA0;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.fcom_step_title {
    font-size: 14px;
    font-weight: 600;
    color: #1A202C;
}
.fcom_step_desc {
    font-size: 12px;
    color: #64748B;
    line-height: 1.5;
    margin: 0 0 12px 34px;
}

/* Step 1 download cards */
.fcom_qr_cards {
    display: flex;
    gap: 12px;
    margin-left: 34px;
}
.fcom_qr_card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #F4F6F8;
    border: 1px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    transition: all 180ms ease;
}
.fcom_qr_card:hover {
    border-color: #5F9EA0;
    background: #EBF1F4;
}
.fcom_qr_card_label {
    font-size: 12px;
    font-weight: 500;
    color: #64748B;
}
.fcom_qr_card_code {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 4px;
}
.fcom_qr_card_badge {
    height: 28px;
    width: auto;
}

/* Divider */
.fcom_qr_divider {
    height: 1px;
    background: #E2E8F0;
    margin: 18px 0 18px 34px;
}

/* Step 2 connect */
.fcom_step2_grid {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: 34px;
    padding: 10px;
    background: #F4F6F8;
    border-radius: 6px;
}
/* Kept at or below the generated PNG's intrinsic size (285-325px, see
   FCOM_Mobile_QR_Code_Generator) so the code is never upscaled and stays sharp
   enough for a phone camera to read. */
.fcom_step2_qr {
    width: 200px;
    height: 200px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}
.fcom_step2_instructions {
    flex: 1;
}
.fcom_step2_instructions p {
    font-size: 13px;
    color: #1A202C;
    line-height: 1.8;
    margin: 0;
}
.fcom_step2_num {
    font-weight: 600;
    color: #5F9EA0;
}
.fcom_step2_fallback {
    margin-left: 34px;
    padding: 20px;
    background: #F4F6F8;
    border-radius: 6px;
}
.fcom_step2_fallback p {
    font-size: 13px;
    margin: 0 0 4px;
}

@media (max-width: 767px) {
    .fcom_qr_dialog {
        width: 94% !important;
        --el-dialog-width: 94% !important;
    }
    .fcom_qr_modal {
        padding: 16px;
    }
    .fcom_qr_cards {
        margin-left: 0;
    }
    .fcom_qr_divider,
    .fcom_step_desc,
    .fcom_step2_grid,
    .fcom_step2_fallback {
        margin-left: 0;
    }
    .fcom_step2_grid {
        flex-direction: column;
        text-align: center;
    }
    .fcom_qr_trial_content {
        position: static;
        transform: none;
        width: 100%;
        padding: 16px;
    }
}