#app {
    width: 100vw;
    color: var(--el-text-color-primary);
    --innerHeight: calc(100vh - 5em);
    height: var(--innerHeight);
    overflow: hidden;
    overflow-y: auto;
    
    display: grid;
    grid-template-columns: auto 1fr;
    --paddingWidth: 10vw;
    box-sizing: border-box;
    padding-left: var(--paddingWidth);
    align-items: start;
    background: var(--el-bg-color-page);
    --photoWidth: 15em;
    --userInfoBlockWidth: 12vw;
    --userInfoBlockMarginRight: 5em;
    --userInfoBlockPaddingWidth: 3em;
    --projectWidth: calc((100vw - var(--paddingWidth) * 2 - var(--userInfoBlockWidth) - var(--userInfoBlockMarginRight) - var(--userInfoBlockPaddingWidth) * 2) / 3 - 2em);
}

.user_info {
    margin-right: var(--userInfoBlockMarginRight);
    margin-top: 13em;
}

.user_info_block{
    --backgroungColor: #fff;
    background: var(--backgroungColor);
    padding: var(--userInfoBlockPaddingWidth);
    width: var(--userInfoBlockWidth);
    border-radius: 0.3em;
    box-shadow: 0 0 10px hsl(from var(--backgroungColor) h s calc(l * 0.8));
    margin-bottom: 2em;
}

.user_info_photo_module {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    --photoWidth: 15em;
    padding-top: calc(var(--photoWidth) / 2 - var(--userInfoBlockPaddingWidth));
    word-break: break-all;
    text-align: center;
}

.user_info_photo_module::after {
    content: "";
    width: var(--photoWidth);
    height: var(--photoWidth);
    border-radius: var(--photoWidth);
    background: var(--backgroungColor);
    position: absolute;
    --boxShadowWidth: 10px;
    box-shadow: 0 0 var(--boxShadowWidth) hsl(from var(--backgroungColor) h s calc(l * 0.8));
    top: 0;
    transform: translateY(calc(-50% - var(--userInfoBlockPaddingWidth)));
    clip-path: polygon(calc(0px - var(--boxShadowWidth)) 50%, calc(100% + var(--boxShadowWidth)) 50%, calc(100% + var(--boxShadowWidth)) calc(0px - var(--boxShadowWidth)), calc(0px - var(--boxShadowWidth)) calc(0px - var(--boxShadowWidth)));
}

.user_info_photo_module>img {
    width: var(--photoWidth);
    height: var(--photoWidth);
    border-radius: var(--photoWidth);
    position: absolute;
    top: 0;
    transform: translateY(calc(-50% - var(--userInfoBlockPaddingWidth)));
    z-index: 1;
}

.user_name {
    font-size: 2.5em;
    font-weight: 700;
    margin: 0.2em 0;
}

a.edit_user_info {
    background: var(--el-color-primary);
    color: #fff;
    padding: 0.5em 1em;
    border-radius: 0.3em;
    cursor: pointer;
    width: fit-content;
    margin-top: 1em;
}

.user_tagline {
    line-height: 1.5;
}

.socials_link {
    width: 100%;
    margin-bottom: 2em;
    display: grid;
    box-sizing: border-box;
    grid-template-columns: repeat(auto-fit, calc((var(--userInfoBlockWidth) - var(--userInfoBlockPaddingWidth)* 2) / 4));
    grid-template-rows: repeat(auto-fit, calc((var(--userInfoBlockWidth) - var(--userInfoBlockPaddingWidth)* 2) / 4));
    align-items: center;
    justify-items: center;
    grid-gap: 0.5em;
}

.socials_link:not(:has(>a)){
    display: none; 
}

.socials_link>a {
    background: var(--el-color-primary);
    box-sizing: border-box;
    padding: 0.5em;
    width: 95%;
    height: 95%;
    max-width: 3.5em;
    max-height: 3.5em;
    border-radius: 0.3em;
}

.socials_link svg {
    width: 100%;
    height: 100%;
}

.socials_link svg path{
    fill: #fff;
}

.user_detial_item {
    margin-bottom: 2em;
}

a.user_detial_content {
    color: var(--el-color-primary);
}

.user_detial_item_title {
    font-size: 1.3em;
    margin-bottom: 0.5em;
}

.user_detial_item_title:has(.copy_license) {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy_license {
    background-color: var(--el-color-primary);
    padding: 0.25em 0.5em;
    border-radius: 0.25em;
    color: #fff;
    cursor: pointer;
}

.user_detial_content {
    box-sizing: border-box;
    font-size: 1.3em;
    line-height: 1.5;
}

.license {
    word-break: break-all;
    height: 5em;
    overflow: hidden;
    overflow-y: auto;
    background: var(--el-color-info-light-8);
    box-sizing: border-box;
    padding: 0.5em;
}

.user_detial_content:is(:empty){
    display: none;
}

.projects {
    width: 100%;
    height: var(--innerHeight);
    padding-top: 5em;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto 1fr;
    position: relative;
}

.mode_info_menus {
    width: calc(100% - var(--paddingWidth));
    margin-bottom: 2em;
    height: 6em;
    border-bottom: 1px solid var(--el-border-color-darker);
    display: flex;
    position: relative;
    align-items: center;
}

.mode_info_menu {
    font-size: 1.5em;
    box-sizing: border-box;
    padding: 0 1em;
    cursor: pointer;
}

.mode_info_menu_focus{
    color: var(--el-color-primary);
}

.mode_info_menu:hover{
    color: var(--el-color-primary);
}

.mode_info_menus .el-input-group {
    width: 50%;
    position: absolute;
    right: 0;
}

.mode_info_menus .el-input-group__append {
    padding: 0;
}

.icon.search_project {
    width: 1.5em;
    height: 1.5em;
    padding: 0 20px;
    cursor: pointer;
}

.icon.search_project path{
    fill: var(--el-border-color-darker);
}

.projects_container {
    width: calc(100% - var(--paddingWidth));
    height: calc(var(--innerHeight) - 14em);
    box-sizing: border-box;
    position: relative;
}

.projects_container_scroll {
    width: 100%;
    height: calc(var(--innerHeight) - 14em);
    overflow: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

.no_project_tips {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 2em;
    color: var(--el-border-color-darker);
}

.projects_container:not(:has( .project)) .no_project_tips{
    display: block;
}

.projects_scroll {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 33.33%);
    justify-items: center;
}

.projects_scroll:not(:has( .project)){
    display: none;
}

.load_more_project {
    margin: 0 auto;
    width: fit-content;
    background: var(--el-color-primary);
    color: #fff;
    padding: 0.5em 2em;
    border-radius: 0.5em;
    cursor: pointer;
}

.project {
    width: var(--projectWidth);
    margin-bottom: 2em;
    --backgroungColor: #fff;
    background: var(--backgroungColor);
    box-shadow: 0 0 10px hsl(from #fff h s calc(l * 0.8));
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project>a{
    width: 100%;
}

.project img {
    min-width: 100%;
    width: var(--projectWidth);
    height: calc(var(--projectWidth) / 1.5);
    background: url(/pages/printableDashboard/img/image.svg) no-repeat 50% 50%;
    background-size: 5em;
    background-color: var(--el-bg-color-page);
    object-fit: contain !important;
}

.rotation_image {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 1500% !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    object-fit: unset !important;
}

.image-progress {
    position: absolute;
    top: calc(var(--projectWidth) / 1.5);
    height: 0.5em;
    transform: translateY(-100%);
    background: var(--el-color-primary);
    transition: width .2s;
    z-index: 1;
}

.publish_status {
    position: absolute;
    top: calc(var(--projectWidth) / 1.5);
    transform: translate(1em, calc(-100% - 2em));
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 0.5em 1em;
    pointer-events: none;
    border-radius: 0.3em;
    font-weight: 700;
    font-size: 0.8em;
    z-index: 1;
}

.project_edit_container { 
    display: flex;
    align-items: center;
    justify-content: space-between;

    .project_name {
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .project_info {
        display: flex;
        align-items: center;
        padding-right: 1em;

        .project_info_item {
            display: flex;
            align-items: center;
            margin-left: 1.5em;
            color: var(--el-text-color-regular);
            box-sizing: border-box;

            svg {
                width: 1.5em;
                height: 1.5em;
                margin-right: 0.5em;
                
                path{
                    fill: var(--el-text-color-regular);
                }
            }
        }
    }
}

.project_name {
    padding: 0.8em 1em;
}

.project_edit_menu{
    margin-right: 1em;
    outline: none;
}

.project_edit_menu>svg {
    width: 1.5em;
    height: 1.5em;
    cursor: pointer;
    outline: none;
}

.project_edit_menu>svg path {
    fill: var(--el-text-color-primary);
}

.load_more_btn {
    padding: 2em 0;
    display: flex;
    justify-content: center;
}

.load_more_btn>div {
    background: var(--el-color-primary);
    color: #fff;
    padding: 1em 2em;
    border-radius: 0.5em;
    cursor: pointer;
}

.dialog {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    z-index: calc(var(--markZIndex) + 1);
    left: 0;
    top: 0;
}

.dialog_show{
    opacity: 1;
    pointer-events: all;
}

.dialog_inner {
    position: absolute;
    min-width: 40em;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    box-sizing: border-box;
    padding: 1em;
    border-radius: 0.5em;
}

.dialog_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dialog_title span {
    font-size: 1.5em;
    font-weight: 700;
}

.dialog_title>svg {
    width: 2em;
    height: 2em;
    cursor: pointer;
}

.dialog_title>svg:hover path{
    fill: var(--el-color-primary);
}

.upload_file_container {
    width: 45em;
    box-sizing: border-box;
    margin: 3em 5em;
}

.upload_file_inner {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border: 1px dashed var(--el-border-color-darker);
    width: 100%;
    margin-bottom: 4em;
    box-sizing: border-box;
    padding: 10em 0;
    cursor: pointer;
    color: var(--el-border-color-darker);
    position: relative;
}

.upload_file_inner>svg {
    width: 6em;
    height: 6em;
    margin-bottom: 1em;
}

.upload_file_inner path {
    fill: var(--el-border-color-darker);
}

.upload_file_inner input{
    width: 100%;
    height: 100%;
    opacity: 0;
    font-size: 0;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
}