.logout {
    display: flex;
    gap: 12px;
    align-items: center;
    position: absolute;
    right: 16px;
    top: 16px;
}

.title__detail {
    margin-bottom: 8px;
}

.subtitle {
    display: flex;
    gap: 20px;
    line-height: 137%;
    margin-bottom: 24px;
}

.t2 {
    margin: 24px 0;
}

.items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.switcher {
    display: flex;
}

.switcher__item {
    line-height: 137%;
    cursor: pointer;
}

.switcher__item:nth-of-type(1) {
    border-bottom: 1px solid #dadada;
    border-left: 1px solid #dadada;
    border-top: 1px solid #dadada;
    border-radius: 8px 0 0 8px;
    padding: 9px 12px;
}

.switcher__item:nth-of-type(2) {
    border-bottom: 1px solid #dadada;
    border-right: 1px solid #dadada;
    border-top: 1px solid #dadada;
    border-radius: 0 8px 8px 0;
    padding: 9px 12px;
}

.switcher__item.active {
    background-color: var(--clr-text-main);
    color: #fff;
}

.switcher__data1,
.switcher__data2 {
    display: none;
}

.block {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.buttons {
    display: flex;
    gap: 16px;
}

.btn {
    position: relative;
    display: block;
    padding: 7px 16px;
    border-radius: 8px;
    background-color: var(--clr-blue-main);
    line-height: 137%;
    color: #fff;
    user-select: none;
}

.colors {
    margin: 24px 0;
    display: flex;
    gap: 40px;
}

.color {
    display: flex;
    align-items: center;
    gap: 8px;
}

.square {
    width: 24px;
    height: 24px;
}

.color:nth-of-type(1) .square {
    background-color: var(--clr-blue-main);
}

.color:nth-of-type(2) .square {
    background: linear-gradient(135deg, #3bf9f5 0%, #80fbed 48.44%, #7ef8d3 100%);
}

.color:nth-of-type(3) .square {
    background-color: #dadada;
}

.color:nth-of-type(4) .square {
    background-color: var(--clr-text-main);
}

.img {
    display: block;
    width: 100%;
}

.table {
    border: 1px solid #dadada;
    border-radius: 16px;
    padding: 20px 20px 10px;
}

.table__content {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
}

.table__content::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    background: transparent;
    padding: 0 10px;
}

.table__content::-webkit-scrollbar-thumb {
    background: #0000001a;
    border: 2px solid white;
    border-radius: 6px;
}

.table__content::-webkit-scrollbar-corner {
    background: transparent;
}

.table__left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.left__item {
    height: 40px;
    display: flex;
}

.left__item_text {
    height: 40px;
    padding: 10px;
    border: 1px solid #dadada;
    font-size: 14px;
    line-height: 140%;
}

.left__item:nth-of-type(2) .left__item_text {
    font-weight: 700;
}
.left__item:nth-of-type(2) .left__item_text:nth-child(1),
.left__item:nth-of-type(3) .left__item_text:nth-child(1),
.left__item:nth-of-type(4) .left__item_text:nth-child(1),
.left__item:nth-of-type(5) .left__item_text:nth-child(1),
.left__item:nth-of-type(6) .left__item_text:nth-child(1) {
    width: 176px;
    border-right: none;
}

.left__item:nth-of-type(2) .left__item_text:nth-child(2),
.left__item:nth-of-type(3) .left__item_text:nth-child(2),
.left__item:nth-of-type(4) .left__item_text:nth-child(2),
.left__item:nth-of-type(5) .left__item_text:nth-child(2),
.left__item:nth-of-type(6) .left__item_text:nth-child(2) {
    width: 200px;
}

.table__right {
    display: flex;
    gap: 10px;
}

.table__item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.table__item__date {
    width: 600px;
    height: 40px;
    border: 1px solid #dadada;
    text-align: center;
    font-size: 14px;
    line-height: 140%;
    padding: 10px;
}

.table__item__numbers {
    display: flex;
    height: 40px;
}

.number {
    border: 1px solid #dadada;
    padding: 10px;
    width: 100px;
    height: 40px;
    border-right: none;
}

.number:last-of-type {
    border-right: 1px solid #dadada;
}

.table__item__cells, .cell {
    position: relative;
    display: flex;
}

.cell {
    width: 100px;
    height: 40px;
    border-right: none;
}

.cell:first-of-type .cell__block:first-of-type {
    border-left: 1px solid #dadada;
}

.cell__block {
    position: relative;
    border-top: 1px solid #dadada;
    border-bottom: 1px solid #dadada;
    height: 40px;
    width: 25px;
}

.cell .cell__block:last-of-type {
    border-right: 1px solid #dadada;
}

.blue-box,
.gradient-box,
.gradient-box2 {
    width: 75px;
    height: 40px;
    position: absolute;
    left: 175px;
    background-color: var(--clr-blue-main);
    z-index: 5;
}

.arrows1, .arrows2 {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: -25px;
    top: 20px;
    transition: opacity .3s ease;
}

.arrows2 {
    left: 58px;
    top: 43px;
}

.arrows1.isVisible, .arrows2.isVisible  {
    opacity: 1;
}

.sc-menu, .sc-menu__submenu, .sc-menu__submenu2 {
    position: absolute;
    z-index: 100;
    display: none;
    flex-direction: column;
    gap: 10px;
    border-radius: 24px;
    padding: 20px 0 20px 24px;
    width: 243px;
    background: #fbf6fa;
}

.sc-menu__submenu, .sc-menu__submenu2 {
    right: -100%;
    top: 90px;
    display: none;
}

.sc-menu__item {
    font-size: 14px;
    line-height: 140%;
    color: #00cacc;
}

.sc-menu__item:nth-of-type(4):hover .sc-menu__submenu {
    display: flex;
}

.sc-menu__item:nth-of-type(5):hover .sc-menu__submenu2 {
    display: flex;
}

.gradient-box, .gradient-box2 {
    left: 275px;
    width: 100px;
    background: linear-gradient(180deg, #3bf9f5 0%, #80fbed 48.44%, #7ef8d3 100%);
}

.gradient-box2 {
    left: 400px;
}

.blue__back {
    background-color: var(--clr-blue-main);
}

.gradient__back {
    background: linear-gradient(180deg, #3bf9f5 0%, #80fbed 48.44%, #7ef8d3 100%);
}

.gray__back {
    background-color: #dadada;
}

.black__back {
    background-color: var(--clr-text-main);
}

.blue__back,
.gradient__back,
.gray__back,
.black__back {
    position: relative;
    border-right: none !important;
    border-top: none;
    border-bottom: none;
}


.new__order:after,
.cip:after,
.blue-box:after,
.gradient-box:after,
.gradient-box2:after,
.gradient-box3:after,
.banan:after,
.first-block-gray-back:after,
.first-block-black-back:after,
.second-block-gray-back:after,
.second-block-black-back:after {
    content: 'Новый заказ';
    position: absolute;
    bottom: -33px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 10;
    width: fit-content;
    padding: 6px 9px;
    border-radius: 10px;
    background: #f7f0f5;
    font-size: 12px;
    display: none;
    transition: opacity .3s ease;
}

.new__order:before,
.cip:before,
.blue-box:before,
.gradient-box:before,
.gradient-box2:before,
.gradient-box3:before,
.banan:before,
.first-block-gray-back:before,
.first-block-black-back:before,
.second-block-gray-back:before,
.second-block-black-back:before {
    content: '';
    height: 0px;
    width: 0px;
    border: 10px solid transparent;
    border-bottom-color: #f7f0f5;
    position: absolute;
    bottom: -10px;
    left: calc(50% - 10px);
    display: none;
    z-index: 10;
    transition: opacity .3s ease;
}

.cip:after, .second-block-black-back:after, .first-block-black-back:after {
    content: 'CiP';
}

.blue-box:after, .first-block-gray-back:after {
    content: '100457, Блок Хаус Фисташки';
}

.gradient-box:after, .gradient-box2:after, .gradient-box3:after {
    content: '1059, Блок Хаус Олива';
}

.banan:after, .second-block-gray-back:after {
    content: '100458, Блок Хаус Банан';
}

.new__order:hover:after, .new__order:hover:before,
.cip:hover:after, .cip:hover:before,
.blue-box:hover:after, .blue-box:hover:before,
.gradient-box:hover:after, .gradient-box:hover:before,
.gradient-box2:hover:after, .gradient-box2:hover:before,
.gradient-box3:hover:after, .gradient-box3:hover:before,
.banan:hover:after, .banan:hover:before, .first-block-gray-back:hover:after,
.first-block-black-back:hover:after,
.second-block-gray-back:hover:after,
.second-block-black-back:hover:after,
.first-block-gray-back:hover:before,
.first-block-black-back:hover:before,
.second-block-gray-back:hover:before,
.second-block-black-back:hover:before {
    display: block;
}



/*Modal*/

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1111;
    background: rgba(0, 0, 0, 0.2);
    transition: opacity 300ms;
    visibility: hidden;
    opacity: 0;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 5px;
    width: 500px;
    position: relative;
    transition: all 5s ease-in-out;
}

.popup__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    padding: 10px 12px;
}

.popup__title > div {
    font-weight: 700;
    font-size: 14px;
    line-height: 140%;
}

.popup__table-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dadada;
}

.popup__table-item:first-of-type {
    border-top: 1px solid #dadada;
}

.popup__table-item-text {
    width: 50%;
    padding: 10px;
    font-size: 14px;
    line-height: 140%;
}

.popup__table-item-text:first-of-type {
    border-right: 1px solid #dadada;
}

.green-bg {
    background: #93db9e;
}

.first-block {
    position: absolute;
    left: 0;
    display: flex;
    width: 125px;
    height: 40px;
    transition: left 0.5s ease;
}
.first-block-gray-back {
    position: relative;
    width: 100px;
    height: 40px;
    background-color: #dadada;
}

.first-block-black-back, .second-block-black-back, .third-block-black-back {
    position: relative;
    width: 25px;
    height: 40px;
    background-color: var(--clr-text-main);
}

.second-block {
    position: absolute;
    left: 100px;
    display: flex;
    width: 50px;
    height: 40px;
    transition: left 0.5s ease;
}
.second-block-gray-back {
    position: relative;
    width: 25px;
    height: 40px;
    background-color: #dadada;
}

.third-block {
    position: absolute;
    left: 125px;
    display: flex;
    width: 150px;
    height: 40px;
    transition: left 0.5s ease;
}
.third-block-gray-back {
    width: 125px;
    height: 40px;
    background-color: #dadada;
}





