﻿:root {
    /* headerHeign */
    --Profile-header-height: 60px;
    --nav-width: 250px;
    /* InquiryStatusColor */
    --status-info: #D9ECFF;
    --status-processing: #EEE5FF;
    --status-pending: #FFF4CC;
    --status-success: #DDF5DF;
    --status-rejected: #FCE1E4;
}

.ProfileHeader {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    margin: auto;
    height: var(--Profile-header-height);
    background-color: var(--color-surface-bg);
    z-index: var(--zindex-header);
}

.ProfileLogo {
    position: absolute;
    top: 8px;
    right: 20px;
    height: 40px;
    width: 115px;
    z-index: var(--zindex-header);
}

    .ProfileLogo span {
        position: absolute;
        top: 10px;
        left: 4px;
        color: var(--color-text-secondary);
        font-size: 8px;
        font-weight: var(--fw-bold);
    }

.ProfileHeaderProfileDiv {
    position: absolute;
    top: 8px;
    left: 32px;
    height: 40px;
    width: 220px;
    overflow: hidden;
}

.ProfileHeaderLogoDiv {
    position: absolute;
    top: 0;
    left: 0;
    height: 40px;
    width: 40px;
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: var(--secondary-border);
    border-radius: var(--border-radius);
    background-color: var(--color-surface-card);
}

    .ProfileHeaderLogoDiv img {
        max-width: 100%;
    }

.ProfileHeaderProfileDivP1 {
    position: absolute;
    top: 0px;
    left: 48px;
    font-size: var(--fs-body-md);
    font-weight: var(--fw-semibold);
    text-align: right;
    line-height: 20px;
    text-wrap: nowrap;
    max-width: 172px;
    overflow: hidden;
}

.ProfileHeaderProfileDivP2 {
    position: absolute;
    top: 20px;
    left: 48px;
    font-size: var(--fs-body-tiny);
    font-weight: var(--fw-regular);
    text-align: right;
    line-height: 20px;
    color: var(--color-text-secondary);
}

.ProfileMain {
    margin: auto;
    position: relative;
    margin-top: var(--Profile-header-height);
    margin-bottom: 24px;
    margin-right: 266px;
    min-height: calc(100vh - 160px);
    padding: 8px 32px;
}

.ProfileFooter {
    height: 55px;
}

.ProfileCertDiv {
    margin-left: 32px;
    text-align: left;
    height: 55px;
    width: auto;
}

.ProfileFooterLogo {
    position: relative;
    display: inline-block;
    text-align: right;
    width: 100px;
    height: 44px;
}

.ProfileFooterLogoSpan {
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 8px;
    font-weight: var(--fw-regular);
}

.ProfileFooterLogoP {
    position: relative;
    display: block;
    height: 22px;
    font-size: 9px;
    font-weight: var(--fw-regular);
    text-align: right;
}

.Enamd img {
    margin: 0 4px;
    height: 50px;
    width: 50px;
}

.Nmad2 {
    height: 50px;
}

.ProfileMenubtn {
    display: none;
}

.ProfileNav {
    position: fixed;
    top: var(--Profile-header-height);
    width: var(--nav-width);
    margin-right: 16px;
    height: calc(100vh - 88px);
    background: var(--color-surface-card);
    box-shadow: var(--ps-box-shadow);
    border-radius: var(--secondary-border-radius);
    padding: 8px 0;
}

.ProfileNavContent {
    overflow-y: auto;
    scrollbar-width: thin;
    height: 100%;
    padding: 16px;
}

.ProfileNavHeader {
    display: none;
}

.ProfileNavHeaderLogo {
    position: absolute;
    top: 24px;
    right: 16px;
}

    .ProfileNavHeaderLogo span {
        position: absolute;
        top: 10px;
        left: 4px;
        color: var(--color-text-secondary);
        font-size: 8px;
        font-weight: var(--fw-bold);
    }

.ProfileNavTitle {
    font-size: var(--fs-h4);
    font-weight: var(--fw-bold);
    color: var(--color-text-primary);
    padding: 16px 4px;
    border-bottom: var(--secondary-border);
    margin-bottom: 16px;
}

.ProfileNavUl {
    list-style: none;
}

    .ProfileNavUl li {
        position: relative;
        text-align: right;
        margin-bottom: 16px;
    }

.ProfileNavParentLink {
    text-align: right;
    font-size: var(--fs-body-md);
    font-weight: var(--fw-bold);
    color: var(--color-text-primary);
    display: block;
    width: 100%;
    padding: 8px 16px;
    cursor: pointer;
    background: none;
    border: none;
}

    .ProfileNavParentLink:hover {
        color: var(--color-link-hover);
    }

    .ProfileNavParentLink.Selected {
        border-radius: var(--tertiary-border-radius);
        background-color: var(--color-surface-caution);
    }

    .ProfileNavParentLink svg, .ProfileNavParentLink img {
        margin-left: 4px;
        width: 20px;
        height: 20px;
    }

.BussinessTypeItemDiv {
    box-shadow: var(--ps-box-shadow);
    border: var(--secondary-border);
    border-radius: var(--secondary-border-radius);
    width: 320px;
    margin: 8px;
    padding: 24px;
}

.BussinessTypeImageDiv {
    background: var(--color-surface-bg);
    border: var(--tertiary-border);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: auto;
    padding: 11px;
}

    .BussinessTypeImageDiv img {
        width: 32px;
        height: 32px;
    }

.DashboardYourFeatureDiv {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.DashboardYourFeatureItem {
    font-size: var(--fs-body-sm);
    flex: 1;
    text-align: center;
}

    .DashboardYourFeatureItem img {
        margin-left: 4px;
    }


.ProfileProgressDiv {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin: 24px auto;
    padding: 16px;
    padding-top: 64px;
}

.ProfileProgressTile {
    position: absolute;
    top: 8px;
    right: 0;
    left: 0;
    margin: auto;
    font-size: var(--fs-h3);
    color: var(--color-text-primary);
    font-weight: var(--fw-bold);
}

.ProfileProgressLine {
    position: absolute;
    top: 80px;
    right: 5%;
    left: 5%;
    z-index: 0;
    border: var(--secondary-border);
    border-style: dashed;
}

.ProfileProgressItem {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.ProfileProgressIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-surface-bg);
    border: var(--tertiary-border);
}

    .ProfileProgressIcon img {
        width: 20px;
        height: 20px;
    }

.ProfileProgressTitle {
    margin-top: 12px;
    color: var(--color-disabled-text);
    font-size: var(--fs-body-md);
    font-weight: var(--fw-medium);
    white-space: nowrap;
}

.ProfileProgressItem .InlineLink {
    margin: 0;
}

.ProfileProgressItem.completed .ProfileProgressIcon {
    background: var(--color-surface-card);
    border-color: var(--color-success);
    color: var(--color-success);
}

.ProfileProgressItem.completed .ProfileProgressTitle {
    color: var(--color-success);
}

.ProfileProgressItem.current .ProfileProgressIcon {
    background-color: #eaf4ff;
    border-color: #1976d2;
    color: #1976d2;
}

.ProfileProgressItem.current .ProfileProgressTitle {
    color: #1976d2;
    font-weight: 700;
}

.LineDiv {
    position: relative;
    width: 100%;
    margin: 8px auto;
    margin-top: 24px;
    height: 40px;
}

    .LineDiv p {
        background: #fff;
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        padding: 0 16px;
        z-index: 5;
    }

    .LineDiv span {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 2px;
        width: 100%;
        background: var(--color-disabled-bg);
        z-index: 0;
    }

/***************Dashboard****************/
.Card900 {
    position: relative;
    max-width: 900px;
    margin: auto;
}

.PanelH1 {
    text-align: right;
    margin-bottom:16px;
}

.ProfileBack {
    display: inline-block;
    height: 32px;
    width: 32px;
    border-radius: 50%;
    margin-left: 8px;
    background: var(--color-surface-muted);
}

.ProfileRouteBox {
    margin: 16px auto;
    text-align: right;
    overflow: hidden;
    display: inline-block;
}

    .ProfileRouteBox li {
        display: inline-block;
    }

.RouteText, .MainRouteText {
    margin: 0 4px;
    font-size: var(--fs-h6);
    font-weight: var(--fw-semibold);
    color: var(--color-text-primary);
}

.MainRouteText {
    color: var(--color-text-secondary);
    font-weight: var(--fw-medium);
}

    .RouteText:hover, .MainRouteText:hover {
        color: var(--color-link-hover);
    }

.PanelH1 h1 {
    display: block;
    text-align: right;
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    line-height: var(--lh-heading);
    color: var(--color-text-primary);
}

.DashboardInfoWrapper {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: stretch;
    flex-direction: row;
    justify-content: flex-start;
    margin: auto;
}

.DashboardInfoDiv {
    position: relative;
    flex: 1 1 30%;
    min-width: 350px;
    box-shadow: var(--ps-box-shadow);
    border-radius: var(--secondary-border-radius);
    padding: 16px;
    background: var(--color-surface-card);
    padding-bottom: 56px;
}

.DashboardInfoLinkDiv {
    position: absolute;
    bottom: 16px;
    right: 0;
    width: 100%;
    text-align: right;
    padding: 0 16px;
    display: flex;
    gap: 24px;
}

.DashboardInfoStatus {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    border-radius: 50%;
    background: #c8f8cd;
}

    .DashboardInfoStatus.Red {
        background: #f8c8c9;
    }

    .DashboardInfoStatus.info {
        background: var(--status-info);
    }

    .DashboardInfoStatus.processing {
        background: var(--status-processing);
    }

    .DashboardInfoStatus.pending {
        background: var(--status-pending);
    }

    .DashboardInfoStatus.success {
        background: var(--status-success);
    }

    .DashboardInfoStatus.rejected {
        background: var(--status-rejected);
    }

.DashboardProgressDiv {
    position: absolute;
    top: 16px;
    left: 16px;
}

.DashboardWrapperDiv {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: stretch;
    flex-direction: row;
    justify-content: flex-start;
    margin: auto;
}

.DashboardDiv {
    position: relative;
    flex: 0 0 0%;
    min-width: 200px;
    height: 200px;
    padding: 16px;
    box-shadow: var(--ps-box-shadow);
    border-radius: var(--secondary-border-radius);
    background: var(--color-surface-card);
}

.DashboardDivTitle {
    font-size: 16px;
    font-weight: 700;
    color: #383838;
    margin: 10px auto;
}

.DashboardDiv:hover {
    box-shadow: var(--ps-box-shadow-hover);
}

    .DashboardDiv:hover .DashboardDivTitle {
        color: var(--color-link-hover);
    }


.DashboardDivDesc {
    text-align: center;
    font-size: 10px;
    line-height: 20px;
    color: var(--color-text-secondary);
}

.AvatarBg {
    background: var(--color-surface-caution);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    text-align: center;
    margin: 16px auto;
}

    .AvatarBg img {
        width: 80px;
        height: 80px;
    }

.InquirySummryDiv {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 24px auto;
}

.InquirySummrItem {
    position: relative;
    flex: 0 0 0;
    min-width: 155px;
    height: 40px;
    text-align: right;
    font-size: var(--fs-body-sm);
    background: var(--color-surface-bg);
    border-radius: var(--tertiary-border-radius);
    padding: 8px;
}

    .InquirySummrItem span {
        position: absolute;
        top: 5px;
        left: 8px;
        border-radius: 50%;
        color: var(--color-text-primary);
        width: 30px;
        height: 30px;
        line-height: 30px;
    }

.InquirySummrItemInfo {
    background: var(--status-info);
}

.InquirySummrItemProcessing {
    background: var(--status-processing);
}

.InquirySummrItemPending {
    background: var(--status-pending);
}

.InquirySummrItemSuccess {
    background: var(--status-success);
}

.InquirySummrItemRejected {
    background: var(--status-rejected);
}
/***************Dashboard****************/
@media only screen and (max-width: 960px) {
    .ProfileHeader {
        box-shadow: var(--ps-box-shadow);
        /*        border-bottom: var(--tertiary-border);*/
    }

    .ProfileLogo {
        display: none;
    }

    .ProfileMenubtn {
        position: fixed;
        display: block;
        top: 12px;
        right: 16px;
        width: 40px;
        height: 40px;
        padding: 10px;
        border: var(--secondary-border);
        border-radius: var(--border-radius);
        cursor: pointer;
        z-index: var(--zindex-footer);
    }

        .ProfileMenubtn:hover {
            border-color: var(--color-brand-red);
        }

    .Profilelogo {
        right: 48px;
    }

    .ProfileHeaderProfileDiv {
        left: 16px;
    }

    .ProfileMain {
        margin-right: 8px;
        margin-left: 8px;
        padding: 8px;
    }

    .ProfileFooter {
        margin-bottom: 70px;
    }

    .ProfileCertDiv {
        margin: auto;
        text-align: center;
    }

    .ProfileNav {
        display: none;
        border-radius: unset;
        top: 0;
        width: 0;
        height: 0;
        transition: 0.7s;
        margin-right: 0;
        padding-top: 52px;
    }

        .ProfileNav.Show {
            display: block;
            width: 100%;
            height: 100%;
            z-index: var(--zindex-nav);
        }

            .ProfileNav.Show .ProfileNavHeader {
                display: block;
                position: absolute;
                top: 0;
                right: 0;
                width: 100%;
                height: 72px;
                background: var(--color-surface-card);
            }
}

@media only screen and (max-width: 601px) {
    .DashboardDiv {
        flex: 1 0 0%;
    }

    .ProfileRouteBox {
        display: none;
    }

    .PanelH1 h1 {
        display: inline-block;
    }

    .LineDiv span {
        display: none;
    }

    .LineDiv p {
        width: 100%;
        text-align: center;
        white-space: normal;
    }

    .BussinessTypeItemDiv {
        max-width: 100%;
    }

    .DashboardYourFeatureDiv {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .DashboardYourFeatureItem {
        width: 100%;
        margin: 4px;
        text-align: right;
    }

    .ProfileProgressDiv {
        flex-direction: column;
        align-items: stretch;
        margin: 24px 0;
        padding-right: 16px;
    }


    .ProfileProgressLine {
        right: 32px;
        left: auto;
        width: 1px;
        height: calc(100% - 110px);
        border: 0;
        border-right: var(--secondary-border);
    }


    .ProfileProgressItem {
        flex-direction: row;
        width: 100%;
        min-height: 56px;
        text-align: right;
    }

    .ProfileProgressIcon {
        position: relative;
        z-index: 2;
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        margin-left: 6px;
    }

        .ProfileProgressIcon img {
            width: 16px;
            height: 16px;
        }

    .ProfileProgressTitle {
        margin-top: 0;
        margin-right: 4px;
        text-align: right;
    }
}
