#custom-window {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--border-black);
    background-color: var(--background-white);
    z-index: 10000;
    box-shadow: 0px 0px 10px var(--box-shadow-black);
    user-select: none;
}

#custom-window.custom-resize {
    width: 400px;
    height: 100vh;
    top: 0px;
    left: calc(100% - 400px);
    user-select: none;
    z-index: 3;
}
#custom-window.addedLead {
    width: 800px;
    height: 100vh;
    top: 0px;
    left: calc(100% - 800px);
    user-select: none;
    z-index: 3;
}

#custom-window.custom-fix-resize {
    top: 0px !important;
    left: 0px !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 3;
}

#custom-window.custom-fix-resize .custom-fix-resize-icon {
    display: none;
}

#custom-window.custom-resize .custom-resize-icon {
    display: none;
}

#custom-window.custom-fix-resize .custom-resize-icon {
    display: flex;
}

#custom-window.custom-resize .custom-fix-resize-icon {
    display: flex;
}

#custom-window-resize {
    display: flex;
    z-index: 3;
}

#custom-window-close {
    display: flex;
}

#custom-iframe-block {
    height: calc(100% - 25px);
    border: 0px;
    width: 100%;
    transition: left 0.5s ease;
}

#custom-window-header > .custom-window-title {
    font-size: 12px;
    line-height: 15px;
    padding-left: 22px;
}

#custom-window-header.custom-grab-area:after {
    content: '';
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

#custom-window-close {
    float: right;
    cursor: pointer;
    z-index: 3;
}

#custom-window-body {
    display: flex;
    flex-direction: row;
    position: relative;
    height: 100%;
    width: 100%;
    transition: width 0.5s ease;
}

#custom-window-body.expanded {
    width: 830px;
}

.custom-window-action {
    display: flex;
    gap: 25px;
    max-width: 135px;
    width: 100%;
    background-color: var(--text_n_icon-black);
    justify-content: flex-end;
    padding: 3px 24px 4px;
    clip-path: polygon(30px 0, 100% 0, 100% 100%, 0% 100%);
}

#custom-resizer-right.custom-grab-area:after {
    content: '';
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}
#custom-resizer-bottom.custom-grab-area:after {
    content: '';
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}
#custom-resizer-corner.custom-grab-area:after {
    content: '';
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}
