/* =========================================
   OFFICEHAI WORKSPACE FINDER
   POPUP CSS
========================================= */

#officehaiPopup.oh-popup {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.72);

    padding: 20px;

    box-sizing: border-box;
}


/* =========================================
   POPUP BOX
========================================= */

#officehaiPopup .oh-popup-box {
    position: relative;

    width: 1180px;
    max-width: 100%;
    height: 680px;
    max-height: calc(100vh - 40px);

    display: grid;
    grid-template-columns: 40% 60%;

    background: #ffffff;

    border-radius: 18px;
    overflow: hidden;

    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
}


/* =========================================
   LEFT SIDE
========================================= */

#officehaiPopup .oh-left {
    position: relative;

    min-width: 0;

    padding: 45px;

    display: flex;
    flex-direction: column;

    color: #ffffff;

    background:
        linear-gradient(
            rgba(1, 43, 41, 0.88),
            rgba(1, 43, 41, 0.94)
        ),
        url("../images/office-bg.webp") center center / cover no-repeat;
}


/* =========================================
   LOGO
========================================= */

#officehaiPopup .oh-logo {
    width: 150px !important;
    max-width: 150px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

#officehaiPopup .oh-logo img {
    display: block !important;

    width: 150px !important;
    max-width: 150px !important;

    height: auto !important;
    max-height: 55px !important;

    object-fit: contain !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* =========================================
   LEFT CONTENT
========================================= */

#officehaiPopup .oh-left-content {
    margin-top: auto;
    margin-bottom: 40px;
}

#officehaiPopup .oh-left-content h2 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 44px;
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -1px;
}

#officehaiPopup .oh-left-content h2 span {
    font-weight: 700;
}

#officehaiPopup .oh-left-content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 17px;
    line-height: 1.6;
}


/* =========================================
   FEATURES
========================================= */

#officehaiPopup .oh-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 20px;

    margin-bottom: 40px;
}

#officehaiPopup .oh-feature {
    display: grid;

    grid-template-columns: 30px 1fr;
    column-gap: 8px;

    align-items: center;
}

#officehaiPopup .oh-feature-icon {
    grid-row: span 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;

    font-size: 14px;
}

#officehaiPopup .oh-feature strong {
    color: #ffffff;

    font-size: 13px;
    font-weight: 600;
}

#officehaiPopup .oh-feature small {
    color: rgba(255, 255, 255, 0.6);

    font-size: 11px;
}


/* =========================================
   LEFT BOTTOM
========================================= */

#officehaiPopup .oh-left-bottom {
    display: flex;
    flex-direction: column;

    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

#officehaiPopup .oh-left-bottom em {
    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;
    font-style: normal;
}

#officehaiPopup .oh-left-bottom strong {
    margin-top: 4px;

    color: #ffffff;

    font-size: 17px;
}


/* =========================================
   LEFT CLOSE BUTTON
========================================= */

#officehaiPopup .oh-close {
    position: absolute;

    top: 20px;
    right: 20px;

    width: 38px;
    height: 38px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.15);

    color: #ffffff;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    z-index: 10;
}


/* =========================================
   RIGHT SIDE
========================================= */

#officehaiPopup .oh-right {
    position: relative;

    min-width: 0;

    padding: 42px 50px;

    background: #ffffff;

    overflow-y: auto;
}


/* =========================================
   RIGHT CLOSE
========================================= */

#officehaiPopup .oh-right-close {
    position: absolute;

    top: 18px;
    right: 20px;

    width: 36px;
    height: 36px;

    padding: 0;

    border: 0;
    background: transparent;

    color: #555555;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;
}


/* =========================================
   PROGRESS
========================================= */

#officehaiPopup .oh-progress {
    display: flex;
    align-items: center;

    width: 100%;

    margin-bottom: 55px;
}

#officehaiPopup .oh-progress-item {
    flex: 0 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 7px;

    color: #999999;

    text-align: center;
}

#officehaiPopup .oh-progress-item span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: #eeeeee;

    color: #777777;

    font-size: 13px;
    font-weight: 600;
}

#officehaiPopup .oh-progress-item label {
    white-space: nowrap;

    font-size: 10px;
    line-height: 1.2;
}

#officehaiPopup .oh-progress-item.active {
    color: #012b29;
}

#officehaiPopup .oh-progress-item.active span {
    background: #012b29;

    color: #ffffff;
}

#officehaiPopup .oh-progress-line {
    flex: 1;

    height: 1px;

    margin: 0 8px 20px;

    background: #dddddd;
}


/* =========================================
   STEPS
========================================= */

#officehaiPopup .oh-step {
    display: none;
}

#officehaiPopup .oh-step.active {
    display: block;
}

#officehaiPopup .oh-step h1 {
    margin: 0 0 14px;

    color: #1c2928;

    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
}

#officehaiPopup .oh-question {
    margin: 0 0 28px;

    color: #777777;

    font-size: 15px;
}


/* =========================================
   STEP 1 OPTIONS
========================================= */

#officehaiPopup .oh-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 14px;

    margin-bottom: 30px;
}

#officehaiPopup .oh-option {
    min-height: 100px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 18px;

    border: 1px solid #e1e5e4;
    border-radius: 12px;

    background: #ffffff;

    text-align: left;

    cursor: pointer;

    transition: all 0.2s ease;
}

#officehaiPopup .oh-option:hover,
#officehaiPopup .oh-option.selected {
    border-color: #012b29;

    background: #f3f8f7;

    transform: translateY(-2px);
}

#officehaiPopup .oh-option-icon {
    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #eef5f4;

    color: #012b29;

    font-size: 20px;
}

#officehaiPopup .oh-option strong {
    display: block;

    color: #1d2928;

    font-size: 14px;
}

#officehaiPopup .oh-option small {
    display: block;

    margin-top: 5px;

    color: #888888;

    font-size: 11px;
}


/* =========================================
   TEAM OPTIONS
========================================= */

#officehaiPopup .oh-team-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    gap: 10px;

    margin-bottom: 40px;
}

#officehaiPopup .oh-team {
    min-height: 120px;

    padding: 15px 8px;

    border: 1px solid #e1e5e4;
    border-radius: 12px;

    background: #ffffff;

    cursor: pointer;

    transition: all 0.2s ease;
}

#officehaiPopup .oh-team:hover,
#officehaiPopup .oh-team.selected {
    border-color: #012b29;

    background: #f3f8f7;
}

#officehaiPopup .oh-team strong {
    display: block;

    color: #012b29;

    font-size: 22px;
}

#officehaiPopup .oh-team small {
    display: block;

    margin-top: 10px;

    color: #888888;

    font-size: 10px;
    line-height: 1.4;
}


/* =========================================
   DATE OPTIONS
========================================= */

#officehaiPopup .oh-date-options {
    display: grid;

    gap: 14px;

    margin-bottom: 40px;
}

#officehaiPopup .oh-date {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;

    padding: 20px;

    border: 1px solid #e1e5e4;
    border-radius: 12px;

    background: #ffffff;

    text-align: left;

    cursor: pointer;

    transition: all 0.2s ease;
}

#officehaiPopup .oh-date:hover,
#officehaiPopup .oh-date.selected {
    border-color: #012b29;

    background: #f3f8f7;
}

#officehaiPopup .oh-date strong {
    color: #1d2928;

    font-size: 15px;
}

#officehaiPopup .oh-date small {
    color: #888888;

    font-size: 11px;
}


/* =========================================
   NAVIGATION
========================================= */

#officehaiPopup .oh-navigation {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;
}


/* =========================================
   BUTTONS
========================================= */

#officehaiPopup .oh-next,
#officehaiPopup .oh-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    min-height: 50px;

    padding: 0 24px;

    border: 0;
    border-radius: 8px;

    background: #012b29;

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;
}

#officehaiPopup .oh-next:hover,
#officehaiPopup .oh-whatsapp:hover {
    background: #01423f;

    transform: translateY(-1px);
}

#officehaiPopup .oh-back {
    padding: 12px 0;

    border: 0;
    background: transparent;

    color: #666666;

    font-size: 13px;

    cursor: pointer;
}

#officehaiPopup .oh-back:hover {
    color: #012b29;
}


/* =========================================
   NOTE
========================================= */

#officehaiPopup .oh-note {
    margin: 15px 0 0;

    color: #aaaaaa;

    font-size: 10px;

    text-align: center;
}


/* =========================================
   FORM
========================================= */

#officehaiPopup .oh-fields {
    display: grid;

    gap: 13px;

    margin: 25px 0;
}

#officehaiPopup .oh-fields input,
#officehaiPopup .oh-fields select {
    width: 100%;
    height: 50px;

    box-sizing: border-box;

    padding: 0 15px;

    border: 1px solid #dddddd;
    border-radius: 8px;

    background: #ffffff;

    color: #333333;

    font-family: inherit;
    font-size: 13px;

    outline: none;
}

#officehaiPopup .oh-fields input:focus,
#officehaiPopup .oh-fields select:focus {
    border-color: #012b29;
}

#officehaiPopup .oh-whatsapp {
    width: 100%;

    background: #25d366;
}

#officehaiPopup .oh-whatsapp:hover {
    background: #1fba59;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    #officehaiPopup.oh-popup {
        padding: 0 !important;
        align-items: stretch !important;
    }

    #officehaiPopup .oh-popup-box {
        width: 100% !important;
        max-width: none !important;
        height: 100vh !important;
        max-height: 100vh !important;

        display: flex !important;
        flex-direction: column !important;

        border-radius: 0 !important;
        overflow-y: auto !important;
    }

    /* =========================
       IMAGE SECTION
    ========================= */

    #officehaiPopup .oh-left {
        display: flex !important;

        flex: 0 0 260px !important;

        height: 260px !important;
        min-height: 260px !important;

        padding: 25px !important;

        justify-content: flex-end !important;

        background:
            linear-gradient(
                to bottom,
                rgba(1,43,41,.25),
                rgba(1,43,41,.92)
            ),
            url("../images/office-bg.webp")
            center center / cover no-repeat !important;
    }

    /* Logo */

    #officehaiPopup .oh-logo {
        position: absolute !important;

        top: 25px !important;
        left: 25px !important;

        width: 120px !important;
        max-width: 120px !important;
    }

    #officehaiPopup .oh-logo img {
        width: 120px !important;
        max-width: 120px !important;
        height: auto !important;
        max-height: 40px !important;
    }

    /* Heading */

    #officehaiPopup .oh-left-content {
        margin: 0 !important;
    }

    #officehaiPopup .oh-left-content h2 {
        margin: 0 !important;

        color: #fff !important;

        font-size: 32px !important;
        line-height: 1.05 !important;
    }

    #officehaiPopup .oh-left-content p {
        display: block !important;

        margin-top: 10px !important;

        color: rgba(255,255,255,.8) !important;

        font-size: 13px !important;
    }

    /* Hide desktop-only items */

    #officehaiPopup .oh-features,
    #officehaiPopup .oh-left-bottom {
        display: none !important;
    }


    /* =========================
       CLOSE
    ========================= */

    #officehaiPopup .oh-close {
        top: 20px !important;
        right: 20px !important;

        width: 36px !important;
        height: 36px !important;

        background: rgba(0,0,0,.3) !important;

        z-index: 20 !important;
    }

    #officehaiPopup .oh-right-close {
        display: none !important;
    }


    /* =========================
       CONTENT
    ========================= */

    #officehaiPopup .oh-right {
        flex: 1 !important;

        padding: 0 20px 30px !important;

        overflow: visible !important;

        background: #fff !important;
    }


    /* =========================
       PROGRESS
    ========================= */

    #officehaiPopup .oh-progress {
        position: relative !important;

        margin-top: -20px !important;
        margin-bottom: 30px !important;

        padding: 12px 15px !important;

        background: #fff !important;

        border-radius: 18px !important;

        box-shadow: 0 5px 25px rgba(0,0,0,.08) !important;

        z-index: 5 !important;
    }

    #officehaiPopup .oh-progress-item label {
        display: none !important;
    }

    #officehaiPopup .oh-progress-item span {
        width: 34px !important;
        height: 34px !important;
    }

    #officehaiPopup .oh-progress-line {
        margin: 0 6px !important;
    }


    /* =========================
       HEADING
    ========================= */

    #officehaiPopup .oh-step h1 {
        font-size: 27px !important;
        line-height: 1.2 !important;

        margin-bottom: 8px !important;
    }

    #officehaiPopup .oh-question {
        font-size: 14px !important;

        margin-bottom: 20px !important;
    }


    /* =========================
       OPTIONS
    ========================= */

    #officehaiPopup .oh-options {
        grid-template-columns: 1fr !important;

        gap: 10px !important;
    }

    #officehaiPopup .oh-option {
        min-height: 70px !important;

        padding: 12px 15px !important;
    }


    /* =========================
       TEAM SIZE
    ========================= */

    #officehaiPopup .oh-team-options {
        grid-template-columns: repeat(2,1fr) !important;

        gap: 10px !important;
    }

    #officehaiPopup .oh-team {
        min-height: 90px !important;
    }


    /* =========================
       DATE
    ========================= */

    #officehaiPopup .oh-date-options {
        gap: 10px !important;
    }

    #officehaiPopup .oh-date {
        padding: 17px !important;
    }


    /* =========================
       FORM
    ========================= */

    #officehaiPopup .oh-fields {
        gap: 10px !important;
    }

    #officehaiPopup .oh-fields input,
    #officehaiPopup .oh-fields select {
        height: 52px !important;
    }

    #officehaiPopup .oh-whatsapp {
        min-height: 54px !important;

        font-size: 14px !important;
    }

}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 500px) {

    #officehaiPopup .oh-left {
        flex-basis: 230px !important;

        height: 230px !important;
        min-height: 230px !important;
    }

    #officehaiPopup .oh-left-content h2 {
        font-size: 29px !important;
    }

    #officehaiPopup .oh-right {
        padding-left: 17px !important;
        padding-right: 17px !important;
    }

    #officehaiPopup .oh-progress {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

}