.top__header .container__layout {
    max-width: 1600px;
    padding: 0 40px;
}

.section__diagram {
    padding: 0;
    padding-top: 60px;
    min-height: 100vh;
    background: var(--main-black-color);
}

.simulate__container.hidden {
    display: none;
}

.simulate__container {
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.simulate__title {
    font-size: 32px;
    line-height: 44px;
    font-weight: 700;
    color: var(--main-white-color);
}

.simulate__subtitle {
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: var(--main-white-color);
}

.simulate__industry--list {
    display: flex;
    width: 100%;
    max-width: 900px;
    flex-wrap: wrap;
    gap: 24px;
}

.simulate__subtitle {
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: var(--main-white-color);
}

.simulate__industry--item {
    width: 200px;
    height: 100px;
    border-radius: 8px;
    background: #212121;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all linear 0.3s;
    cursor: pointer;
}

.simulate__industry--item p {
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
    color: var(--main-white-color);
    text-align: center;
}

.lang.ru .simulate__industry--list {
    max-width: 952px;
}
.lang.ru .simulate__industry--item{
    width: 220px;

}

.simulate__industry--item:hover {
    background: var(--primary-color);
    transition: all linear 0.3s;

}

.section__diagram--container {
    background: var(--main-black-color);
    max-width: 1600px;
    width: 100%;
    padding: 24px;
    gap: 12px;
    margin: 0 auto;
    min-height: calc(100vh - 60px);
    display: none;
}

.section__diagram--container.active {
    display: flex;
}

.section__diagram--left {
    background: #202020;
    min-width: 200px;
    height: auto;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 8;
}

.left__group--head-title {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: var(--main-white-color);
}

.diagram__left--line {
    height: 1px;
    width: 100%;
    background: #36363C;
}

.diagram__left--group {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.diagram__left--group .left__group--title {
    font-size: 11px;
    line-height: 16px;
    font-weight: 700;
    color: #DDDDDD;
}

.input__range--wrapper .input__range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: #36363C;
    border-radius: 5px;
    outline: none;
}

.input__range--wrapper .input__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.input__range--wrapper .input__range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.input__range--label {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.input__range--label label,
.input__range--label .input__range--value {
    font-size: 10px;
    line-height: 14px;
    font-weight: 400;
    color: #DDDDDD;
}

.group__selected--wrapper {
    border-radius: 4px;
    border: 1px solid #2C2C2C;
    transition: all linear 0.3s;
}

.group__selected--content {
    display: none;
}

.group__selected--title {
    background: #36363C;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.group__selected--wrapper p,
.input__switch--wrapper p {
    font-size: 10px;
    line-height: 14px;
    font-weight: 400;
    color: #DDDDDD;
}

.group__selected--title .input__number {
    width: 100%;
    max-width: 34px;
    min-height: 16px;
    max-height: 16px;
    background: var(--main-black-color);
    padding: 0 4px;
    font-size: 10px;
    line-height: 14px;
    font-weight: 400;
    color: #DDDDDD;
    border-radius: 2px;
    text-align: end;
}

.group__selected--title-input {
    display: flex;
    gap: 8px;
}

.group__selected--toggle {
    width: 16px;
    height: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    background: #2C2C2C;
    cursor: pointer;
}

.group__selected--toggle img {
    width: auto;
    height: 8px;
    object-fit: cover;
    transform: rotate(90deg);
    transition: all linear 0.3s;
}

.group__selected--wrapper.active .group__selected--toggle img {
    transform: rotate(-90deg);
    transition: all linear 0.3s;
}

.group__selected--item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
}



.group__selected--list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.group__applied--forall {
    display: flex;
    gap: 4px;
    padding: 4px 8px;
    align-items: center;
}

.group__applied--forall input,
.group__applied--forall input[type="checkbox"] {
    width: 12px;
    min-width: 12px;
    height: 12px;
    border-radius: 2px;
    background-color: #212121;
    border: 1px solid #DDDDDD;
    outline: none;
    appearance: none;
}

.group__applied--forall input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    content: '';
    color: var(--main-white-color);
    z-index: 1;
    background-image: url("/images/icon/check_white_icon.svg");
    background-size: 10px;
    background-position: 1px;
    background-repeat: no-repeat;
    border: 0;
}

.diagram__left--group-total {
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.diagram__left--group-total p {
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    color: #DDDDDD;
}

.input__switch--wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.input__switch--list {
    display: flex;
    background-color: #2C2C2C;
    border: 1px solid #2C2C2C;
    border-radius: 3px;


}

.input__switch--item {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2C2C2C;
    font-size: 11px;
    line-height: 16px;
    font-weight: 400;
    color: var(--main-white-color);
    border-radius: 3px;
    height: 100%;
    min-height: 24px;
    cursor: pointer;
    transition: all linear 0.3s;
}

.input__switch--item.active {
    background: var(--primary-color);
    transition: all linear 0.3s;
}


.diagram__left--group.network .group__applied--forall {
    padding: 0;
}

.group__selected--wrapper .input__range--wrapper {
    padding: 4px 8px;
}


.section__diagram--right {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.diagram__right--total {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 84px;
    left: 0;
    z-index: 10;
}

.diagram__right--total-left {
    width: 100%;
    display: flex;
    gap: 12px;
}


.diagram__right--total-right .start__btn,
.diagram__right--total-right .stop__btn {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    min-width: 100px;
}

.total__analysis--item {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background-color: #212121;
    min-width: 116px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all linear 0.3s;
}

.diagram__right--total-left.active .total__analysis--item {
    opacity: 1;
    visibility: visible;
    transition: all linear 0.3s;
}

.total__analysis--item span {
    font-size: 11px;
    line-height: 16px;
    font-weight: 700;
    color: var(--main-white-color);
}

.total__analysis--value {
    display: flex;
    gap: 4px;
    align-items: end;
}

.total__analysis--value p {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.total__analysis--value span {
    font-size: 11px;
    line-height: 16px;
    font-weight: 700;
    color: var(--main-white-color);
    padding-bottom: 4px;
}


.diagram__table {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: all linear 0.3s;
}

.diagram__table.active {
    opacity: 1;
    visibility: visible;
    transition: all linear 0.3s;
}

.diagram__table--container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    justify-content: end;
}

.diagram__table--content {
    max-width: 50%;
    max-height: 300px;
    overflow: auto;
    background-color: #202020;
    padding: 16px;
    border-radius: 5px 5px 0 0;
    overflow: auto;
}

.diagram__table .tabulator .tabulator-header .tabulator-col {
    min-height: 30px;
    max-height: 30px;
    background-color: var(--main-black-color);
    border: 1px solid #2C2C2C;
    border-radius: 0px;
}

.diagram__table .tabulator .tabulator-alert{
    display: none;
}

.diagram__table .tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title {
    font-size: 11px;
    line-height: 16px;
    font-weight: 600;
    color: #AAAAAA;
}

.diagram__table .tabulator-row {
    min-height: 30px;
    max-height: 30px;
}

.diagram__table .tabulator .tabulator-row .tabulator-cell {
    min-height: 30px;
    max-height: 30px;
    background-color: var(--main-black-color);
    border: 1px solid #2C2C2C;
    border-radius: 0px;
    font-size: 11px;
    line-height: 16px;
    font-weight: 400;
    color: var(--main-white-color);

}

.diagram__table .tabulator .tabulator-row .tabulator-cell p {
    font-size: 11px;
    line-height: 16px;
    font-weight: 400;
    color: var(--main-white-color);
}


.popup__completed--btn .common__square--blue--btn {
    padding: 8px 10px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    min-width: 100px;
}

.popup__completed--main {
    padding: 16px;
    border-radius: 8px;
    min-width: 384px;
    width: max-content;
    background-color: rgba(54, 54, 60, 0.8)
}

.popup__completed--title {
    font-size: 32px;
    line-height: 44px;
    font-weight: bold;
    color: var(--main-white-color);
    margin-bottom: 40px;
}

.popup__completed--main-row {
    display: flex;
    column-gap: 4px;
}

.popup__completed--main-row .popup__completed--main-row-title {
    color: var(--main-white-color);
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
    margin-bottom: 12px;
}

.popup__completed--main-row span {
    color: var(--main-white-color);
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.popup__completed--main-row p {
    color: var(--main-white-color);
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.popup__completed--btn {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    width: max-content;
    margin-top: 40px;
}

.popup__completed--btn .common__square--blue--btn {
    min-width: 120px;
}

.popup__completed--btn .common__square--blue--btn.not__active {
    background: #36363C;

}

.right__popup--completed {
    opacity: 0;
    visibility: hidden;
    transition: all linear 0.3s;
    position: fixed;
    display: flex;
    background-color: rgba(95, 92, 92, 0);
    width: calc(100%);
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 99;
    top: 0px;
    left: 0px;
    flex-direction: column;
    backdrop-filter: blur(4px);
}

.right__popup--completed.active {
    opacity: 1;
    visibility: visible;
    transition: all linear 0.3s;
}


.section__diagram--content {
    width: 100%;
    height: 100%;
}

.section__diagram--container .main__diagram {
    width: 100%;
    height: 100%;
}