:root {
    --perpleColor: #ffb6b7;
}

body {
    background: #f8f8f8;
}

.diagram-container .diagram-item {
    display: flex;
    justify-content: space-between;
    height: 90px;
    padding: 12px;
    background-color: #fff;
    border-left: 8px solid #f9a5c2;
}

.diagram-container .listing-row span,
.diagram-container .listing-row h6 {
    font-size: 15px;
    font-weight: bold;
    font-family: sans-serif;
}


.daigram-img-container {
    position: relative;
    width: 655px;
    transform: scale(0.82);
}

.diagram-container .sec1 {
    width: 71px;
    position: absolute;
    bottom: 78px;
    left: 147px;
    transform: rotate(4deg);
    height: 31%;
}

.diagram-container .sec {
    width: 71px;
    position: absolute;
}

.diagram-container .sec2 {
    width: 71px;
    position: absolute;
    top: 105px;
    left: 82px;
    transform: rotate(4.5deg);
    height: 41%;
}

.diagram-container .sec3 {
    top: 35px;
    display: flex;
    left: 100px;
}

.diagram-container .sec3 {
    top: 32px;
    display: flex;
    left: 100px;
    width: 190px;
    transform: rotate(4deg);
}

.diagram-container .sec8 {
    bottom: 57px;
    display: flex;
    right: 16px;
    width: 130px;
    transform: rotate(3deg);
}

.diagram-container .sec4 {
    width: 71px;
    position: absolute;
    top: 110px;
    left: 200px;
    transform: rotate(4.5deg);
    height: 39%;
}

.diagram-container .sec5 {
    width: 71px;
    position: absolute;
    bottom: 72px;
    left: 260px;
    transform: rotate(4deg);
    height: 31%;
}

.diagram-container .sec6 {
    width: 71px;
    position: absolute;
    top: 97px;
    right: 219px;
    transform: rotate(-6deg);
    height: 77%;
}

.diagram-container .sec7 {
    width: 71px;
    position: absolute;
    top: 88px;
    right: 103px;
    transform: rotate(-6deg);
    height: 77%;
}

.diagram-container .sec5 .box {
    background-color: var(--perpleColor);
    margin-bottom: 5px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.diagram-container .sec6 .box {
    background-color: var(--perpleColor);
    margin-bottom: 5px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.diagram-container .sec7 .box {
    background-color: var(--perpleColor);
    margin-bottom: 5px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.diagram-container .sec6 .word .box {
    height: 18px;
    font-size: 12px;
}

.diagram-container .sec1 .word .box,
.diagram-container .sec7 .word .box {
    height: 18px;
    font-size: 12px;
}

.diagram-container .sec7 .word{
    width: 130px;
    display: flex;
    flex-wrap: wrap;
        margin-top: 80px;
    transform: rotate(5deg);
}
.diagram-container .sec7 .word .box {
    background-color: var(--perpleColor);
    margin-right: 10px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    font-size: 12px;
    flex: 1 1 40%;
}

.diagram-container .sec4 .box {
    background-color: var(--perpleColor);
    margin-bottom: 5px;
    height: 29px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.diagram-container .sec3 .box {
    background-color: var(--perpleColor);
    margin-right: 10px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
}

.diagram-container .sec8 .box {
    background-color: var(--perpleColor);
    margin-right: 10px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    font-size: 12px;
}

.diagram-container .sec1 .box {
    background-color: var(--perpleColor);
    margin-bottom: 5px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.diagram-container .sec2 .box {
    background-color: var(--perpleColor);
    margin-bottom: 5px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.listing-row,
.listing-row {
    background-color: #fff;
    border-radius: .3333rem;
    border: .0334rem solid #cbcccd;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    color: #000;
    font-size: 1.0666rem;
    font-family: GothamBold, sans-serif !important;
    align-items: flex-start;
    font-size: .8rem;
    cursor: pointer;
    min-height: 5.667rem;
    padding: 1.2rem 0 1rem 1.3333rem;
    position: relative;
    margin-bottom: .0667rem;
    border-radius: .2rem;
    padding-right: 15px;
    transition: 0.5s;
}

.listing-row .left-side-color,
.listing-row .left-side-color {
    border-radius: .3334rem;
    position: absolute;
    height: calc(100% + 1px);
    width: .4rem;
    left: -.0667rem;
    top: 0;
    background-color: #FF7575;
}

.diagram-container .sec1 .box.haft {
    height: 20px;
}

.diagram-container {
    display: flex;
    height: 100vh;
}

.diagram-container .left-container {
    flex: 1;
    margin-right: 25px;
    height: 100%;
    overflow: auto;
}

.diagram-container .right-container {
    width: 50%;
    box-shadow: 0 .1333rem .4rem rgba(0, 0, 0, .1);
    background-color: #fff;
    border-radius: .3333rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.diagram-img-container {
    position: relative;
}

.diagram-container .box.none:not(.active) {
    background-color: #ccc !important;
    color: #ccc !important;
}


.diagram-container .listing-row:hover {
    background-color: #ffb6b76e;
    transition: 0.5s;
}

/* Hide scrollbars while keeping the ability to scroll */
.left-container {
    overflow: scroll;
    scrollbar-width: none;
    /* For Firefox */
    -ms-overflow-style: none;
    /* For Internet Explorer and Edge */
}

.left-container::-webkit-scrollbar {
    display: none;
    /* For Chrome, Safari, and Opera */
}

/* Hide scrollbars in Firefox */
.left-containers {
    scrollbar-width: none;
    /* For Firefox */
}

.left-container .table-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}

.left-container .table-header h4 {
    font-size: 16px;
}

.left-container .table-header select {
    width: 35%;
}