.common-page {
    overflow-y: auto;
    height: 100vh;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;

    @media (max-width: 767px), (max-height: 767px) {
        overflow-y: auto; /*прокрутка*/
        height: auto;
        min-height: 100vh;
    }
}

.common-page::-webkit-scrollbar {
    display: none;
}

.common-page a {
    text-decoration: none;
}

.common-page .rules-link {
    color: var(--primary-blue);
    font-weight: 800;
}

.common-page__side {
    padding: 0 0 20px 16px;
    width: 267px;
    height: calc(100vh - 70px);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;

    @media (max-width: 991px) {
        margin-top: 20px;
        padding: 0 16px;
        width: 96px;
    }

    @media (max-width: 767px) {
        margin-top: 0;
        padding: 0 8px;
        display: none;
    }
}

.common-page__side-new {
    transition: width 0.3s ease;
    z-index: 10;
    width: 277px;
    height: 100vh;
    top: 0;
    position: sticky;
    display: flex;
    flex-direction: column;
    background-color: var(--neutral-white);
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;

    /* @media (max-width: 1439px){
        width: 7rem;
    } */

}

.common-page__side-new::-webkit-scrollbar {
    display: none;
}

.common-page__side .common-page__header {
    display: none;
}

.common-page__menu {
    margin-top: 8px;
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;

    @media (max-width: 991px) {
        margin-top: 0;
        padding: 0 12px;
        position: relative;
    }

    @media (max-width: 767px) {
        padding: 0;
        margin-top: 12px;
    }
}

.common-page__menu-new {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 2rem 0 2rem;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;

    /* @media (max-width: 1439px) {
        justify-content: start;
        padding: 1rem 2rem 0 2rem;
        overflow-x: hidden;
        scrollbar-width: none;
        flex-wrap: nowrap;
    } */

    @media (max-width: 1279px) {
        min-width: 800px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        flex-wrap: nowrap;
        padding: 0;
        flex: 1;
    }
}

.common-page__menu-new::-webkit-scrollbar {
    display: none;
}

.common-page__menu-footer-indentation {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 2rem 2rem 2rem;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;

    /* @media (max-width: 1439px) {
        padding: 6px 28px 2rem 28px;
        overflow-x: hidden;
        scrollbar-width: none;
        flex-wrap: nowrap;
    } */

    @media (max-width: 1279px) {
        position: sticky;
        right: -15px;
        background: inherit;
        z-index: 1;

        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        flex-wrap: nowrap;
        flex-direction: row;
        align-items: center;
        padding: 0;
        min-width: 48px;
    }
}

    .common-page__menu-footer-indentation--collapsed .common-page__menu-footer-indentation {
        padding: 0 28px 0 28px;
        overflow-x: hidden;
        scrollbar-width: none;
        flex-wrap: nowrap;
    }


.custom-tooltip {
    position: fixed;
    transform: translateY(-50%);
    background: #1a1a2e;
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 400;
    white-space: nowrap;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    animation: tooltip-in-right 0.7s ease forwards;
}

@keyframes tooltip-in-right {
    from { opacity: 0; transform: translateY(-50%) translateX(-4px); }
    to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

@keyframes tooltip-in-top-fix {
    from { opacity: 0; transform: translateY(calc(-100% - 4px)); }
    to   { opacity: 1; transform: translateY(-100%); }
}

.common-page__menu-item {
    border-radius: 8px;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 120%;
    font-weight: bold;
    color: var(--neutral-navy);
    padding: 10px 12px 10px 44px;
    text-decoration: none;
    display: block;
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 20px;

    @media (max-width: 991px) {
        overflow: hidden;
        height: 40px;
        width: 40px;
        margin-bottom: 12px;
        padding: 0 0 0 40px;
    }
}
.common-page__sidebar-top {
    width: 181px;
    /* @media (max-width: 1439px) {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    } */
    @media (max-width: 1279px) {
        display: flex;
        width: 100%;
        flex-direction: row;
        align-items: center;
        /* margin-right: 32px */
    }
    @media (max-width: 711px) {
        /* min-width: 560px; */
        gap: 32px;
        margin-right: 2rem
    }
}
.common-page__menu-item-new {
    align-items: center;
    height: 48px;
    width: 100%;
    border-radius: 80px;
    margin-bottom: 0.75rem;
    color: var(--blue-plaza-active);
    padding: 8px 16px;
    gap: 8px;
    display: flex;
    background-repeat: no-repeat;
    background-color: var(--white-smoke-light);
    font-family: Commissioner;
    font-weight: 400;
    font-size: 16px;
    line-height: 90%;


    /* @media (max-width: 1439px) {
        justify-content: center;
        width: 48px;
        border-radius: 24px;
    } */

    @media (max-width: 1279px) {
        justify-content: center;
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        min-height: unset;
        margin: 0 2px;
        margin-bottom: 0;
        border-radius: 12px;
        background-position: center center;
        background-size: 24px;
        padding: 0;
        font-size: 0;
        color: transparent;
        text-indent: -9999px;
        white-space: nowrap;
    }
}
@media (max-width: 1279px) {
    .common-page_text-to-hide {
        display: none;
    }
}

.common-page__sidebar-settings-button {
    height: 48px;
    border-radius: 80px;
    padding: 8px 16px;
    gap: 8px;
    display: flex;
    flex-direction: row;
    /* justify-content: center; */
    font-family: Commissioner;
    font-weight: 400;
    font-size: 16px;
    line-height: 90%;
    width: 100%;
    align-items: center;
    border-radius: 5rem;
    color: var(--blue-plaza-active);
    background-color: var(--white-smoke-light);
        /* @media (max-width: 1439px) {
            display: flex;
            flex-direction: column;
            align-items: center;
        } */
        @media (max-width: 1279px) {
            justify-content: center;
            flex-direction: row;
            align-items: center;
            height: 48px;
            width: 48px;
            margin: 2rem 2rem 2rem 0;
        }
        @media (max-width: 711px) {
        margin: 2rem 0 2rem 0;
        }
}

.common-page__sidebar-settings-button span {
        @media (max-width: 1279px) {
            display: none;
        }
}

.common-page__sidebar-settings-button:hover {
    background-color: var(--hover-color);
}

.common-page__sidebar-settings-button_active,
.common-page__sidebar-settings-button_active:hover {
    background-color: var(--blue-plaza-active);
    color: var(--neutral-white);
}

.common-page__sidebar-settings-button {
    position: relative;
}

.common-page__sidebar-settings-button a::after {
    content: '';
    position: absolute;
    inset: 0;
}


.common-page__sidebar-theme-buttons {
    display: flex;
    flex-direction: row;
    background-color: var(--white-smoke-light);
    border-radius: 88px;
    padding: 4px;
    gap: 4px;
     /* @media (max-width: 1439px) {
            display: flex;
            flex-direction: column;
            align-items: center;
        } */
        @media (max-width: 1279px) {
            display: flex;
            flex-direction: row;
            align-items: center;
            margin: 2rem 2rem 2rem 0;
        }
        @media (max-width: 711px) {
        margin: 2rem 0 2rem 0;
        }
}

.common-page__sidebar-buttons-space-between {
    align-items: center;
    align-self: center;
    width: 100%;
    height: 48px;
    display: flex;
    flex-direction: row;
    padding: 8px 16px;
    justify-content: space-between;
    border-radius: 5rem;
    background-color: var(--white-smoke-light);
    color: var(--blue-plaza-active);
        /* @media (max-width: 1439px) {
            min-width: 48px;
            min-height: 48px;
            width: 48px;
        } */
        @media (max-width:1279px) {
            width: 48px;
            /* flex-direction: column; */
            justify-content: center;
            min-width: 48px;
            min-height: 48px;
        }
}
@media (max-width: 1279px) {
    .common-page__sidebar-buttons-space-between:hover {
        background-color: var(--hover-color);
    }
}

.common-page__menu-item_notify, .common-page__menu-item_notify:hover {
    background-image: url('../image/notification.svg');   
    background-size: 24px 24px;
    width: 24px;
    height: 24px; 
    flex-shrink: 0;
}

.common-page__menu-item-new.common-page__menu-item_active-new .common-page__menu-item_notify {
    background-image: url('../image/notification_active.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item_notify.common-page__menu-item_notify--empty,
.common-page__menu-item_notify.common-page__menu-item_notify--empty:hover {
    background-image: url('../image/notification_empty.svg');
}

.common-page__menu-item-new.common-page__menu-item_active-new .common-page__menu-item_notify.common-page__menu-item_notify--empty,
.common-page__menu-item-new.common-page__menu-item_active-new .common-page__menu-item_notify.common-page__menu-item_notify--empty:hover {
    background-image: url('../image/notification_active_empty.svg');
}

/* .common-page__menu-item_notify, .common-page__menu-item_notify:hover {
    background-image: url('../image/t_notify_a.svg');
    background-size: 18px;
}


.common-page__menu-item_drivers, .common-page__menu-item_drivers:hover {
    background-image: url('../image/t_driver.svg');
    background-size: 18px;
}

.common-page__menu-item_notify, .common-page__menu-item_notify:hover {
    background-image: url('../image/t_notify_a.svg');
    background-size: 18px;
} */

.common-page__menu-item_tenders, .common-page__menu-item_tenders:hover {
    background-image: url('../image/hammer.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px; 
    flex-shrink: 0;
}

.common-page__menu-item-new.common-page__menu-item_active-new .common-page__menu-item_tenders {
    background-image: url('../image/hammer_active.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item_drivers, .common-page__menu-item_drivers:hover {
    background-image: url('../image/wheel.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px; 
    flex-shrink: 0;
}

.common-page__menu-item-new.common-page__menu-item_active-new .common-page__menu-item_drivers {
    background-image: url('../image/wheel_active.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item_report, .common-page__menu-item_report:hover {
    background-image: url('../image/report.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item-new.common-page__menu-item_active-new .common-page__menu-item_report {
    background-image: url('../image/report_active.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item_support, .common-page__menu-item_support:hover {
    background-image: url('../image/everyday.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item-new.common-page__menu-item_active-new .common-page__menu-item_support {
    background-image: url('../image/everyday_active.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item_templates, .common-page__menu-item_templates:hover {
    background-image: url('../image/template.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item-new.common-page__menu-item_active-new .common-page__menu-item_templates {
    background-image: url('../image/template_active.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item_archive, .common-page__menu-item_archive:hover {
    background-image: url('../image/t_archive_a.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item-new.common-page__menu-item_active-new .common-page__menu-item_archive {
    background-image: url('../image/t_archive_active.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item_wins, .common-page__menu-item_wins:hover {
    background-image: url('../image/t_wins_a.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item-new.common-page__menu-item_active-new .common-page__menu-item_wins {
    background-image: url('../image/t_wins_active.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item_message, .common-page__menu-item_message:hover {
    background-image: url('../image/t_message_a.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}


.common-page__menu-item-new.common-page__menu-item_active-new .common-page__menu-item_message {
    background-image: url('../image/t_message_active.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}


.common-page__menu-item_settings, .common-page__menu-item_settings:hover {
    background-image: url('../image/settings.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item-new.common-page__menu-item_active-new .common-page__menu-item_settings {
    background-image: url('../image/people-active.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item_version, .common-page__menu-item_version:hover {
    background-image: url('../image/t_release.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item_version--notify, .common-page__menu-item_version--notify:hover {
    background-image: url('../image/t_release_notify.svg');
}

.common-page__menu-item-new.common-page__menu-item_active-new .common-page__menu-item_version {
    background-image: url('../image/t_release_active.svg');
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item_install, .common-page__menu-item_install:hover {
    background-image: url('../image/download_app.svg');
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__menu-item-new.common-page__menu-item_active-new .common-page__menu-item_install {
    background-image: url('../image/download_app_active.svg');
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

#idCompanyMenu {
    width: 30px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: url("/image/logout.svg") center / 24px 24px no-repeat;
}

.common-page__footer-icon--mobile {
    display: none;
}

@media (max-width: 1279px) {
    .common-page__footer-icon--desktop {
        display: none !important;
    }
    .common-page__footer-icon--mobile {
        display: flex;
        width: 48px !important;
        height: 48px !important;
        background: url("../image/user.svg") center / 24px 24px no-repeat;
        border-radius: 24px !important;
    }
}


.common-page__menu-item_active {
    background-color: var(--teclis-blue-rgba);
    color: var(--primary-blue);
}

.common-page__menu-item_active-new {
    background-color: var(--blue-plaza-active);
    color: var(--neutral-white);
}



.common-page__menu-item-new:hover {
    background-color: var(--hover-color);
    color: var(--blue-plaza-active);
}

.common-page__menu-item:hover {
    background-color: var(--neutral-light-blue);
    color: var(--neutral-navy);
}

/*боковое меню на малых экранах */

.common-page__side_active {
    z-index: 10;
    height: calc(100vh - 70px);

    @media (max-width: 767px) {
        display: block;
        position: fixed;
        background-color: var(--neutral-bg);
        height: 100vh;
        top: 0;
        width: 100%;
    }
}

.common-page__side_active .common-page__header {

    @media (max-width: 767px) {
        display: flex;
        margin-left: -8px;
        width: 100vw;
    }
}

.common-page__side_active::after {
    @media (max-width: 767px) {
        content: '';
        position: absolute;
        top: 25px;
        right: 25px;
        width: 20px;
        height: 20px;
        background: url('../image/close.svg') no-repeat center center / contain;
        cursor: pointer;
        z-index: 10;
    }
}

.common-page__main-top-menu {

    @media (max-width: 767px) {
        background: url('../image/hamburger.svg') no-repeat center / contain;
        width: 26px;
        height: 26px;
        cursor: pointer;
        position: absolute;
        left: 18px;
        top: 16px;
    }
}

/* main */

.common-page__main {
    flex-grow: 1;
    padding: 74px 0 20px;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;

    @media (max-width: 991px) {
        padding: 74px 16px 16px 0;
    }

    @media (max-width: 767px) {
        padding: 74px 16px 16px;
        position: relative;
        overflow-x: auto;
        flex-grow: 1;
    }
}

.common-page__main-new {
    padding: 74px 0 20px;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;

    @media (max-width: 1279px) {
        padding: 74px 16px 16px 0;
    }

    @media (max-width: 768px) {
        padding: 74px 0 0 0;
        position: relative;
        overflow-x: auto;
    }
}

.common-page__sidebar-footer {
    height: 113px;
    padding: 0 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
        @media(max-width: 1279px) {
            display: none;
        }
}

.common-page__sidebar-bottom {
    display: flex;
    flex-direction: column;
    width: 181px;
        @media(max-width:1279px) {
            /* gap: 32px; */
            flex-direction: row;
            width: 100%;
            height: 100%;
            justify-content: center;
        }
        @media(max-width:711px) {
            gap: 32px;
        }
}

.common-page__bonus-btn {
    width: 181px;
    /* transition: width 0.5s ease, padding 0.5s ease, background-position 0.5s ease; */
    align-self: center;
    display: flex;
    padding: 8px 16px;
    gap: 8px;
    flex-direction: row;
    align-items: center;
    border-radius: 2rem;
    font-family: Commissioner;
    font-weight: 400;
    font-size: 16px;
    line-height: 90%;
    letter-spacing: 0%;
    color: rgba(248, 249, 250, 1);
    background-repeat: no-repeat, no-repeat;
    background-image: linear-gradient(135deg, rgba(107, 158, 255, 1), rgba(72, 110, 181, 1));


    /* @media (max-width: 1439px) {
        overflow: hidden;
        width: 48px;
        height: 48px;
        padding: 0;
        justify-content: center;
        background-position: center, center;
        span { display: none; }
    } */

    @media (max-width: 1279px) {
        overflow: hidden;
        background-position: center, center;
        span { display: none; }
        justify-content: center;
        padding: 0;
        width: 48px;
        height: 48px;
        margin: 2rem 2rem 2rem 0;
        flex-shrink: 0;
    }

    @media (max-width: 711px) {
        margin: 2rem 0 2rem 0;
    }
}

.common-page__bonus-btn__icon {
    background-image: url('../image/lightning.svg');
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.common-page__footer-info {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    flex: 1;
    min-width: 0;
}

.common-page__footer-controls {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 6px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* align-items: center; */
    gap: 4px;
        /* @media (max-width: 1439px){
            flex-direction: column;
        } */
        @media (max-width: 1279px){
            flex-direction: row;
            justify-content: start;
            margin: 32px 32px 32px 0;
        }
        @media (max-width: 711px) {
            gap: 32px
        }
}
.theme-btn {
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 56px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* transition: all 0.5s ease; */
}

.active-light {
    background: var(--primary-blue);
}

.active-dark {
    background: var(--blue-plaza-active);
}

.theme-btn:not(.active-light):not(.active-dark):hover {
    background-color: var(--hover-color);
}

.common-page__footer-company {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.common-page__footer-company-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    @media (max-width: 1279px) { display: none; }
}
.common-page__footer-company-name {
    max-width: 120px;
    padding-top: 8px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: Commissioner;
    font-weight: 400;
    font-size: 14px;
    color: var(--blue-plaza-active);
        @media (max-width: 1279px) {
            display: none;
        }
}

.common-page__footer-company-user {
    max-width: 120px;
    padding-bottom: 8px;
    display: block;
    opacity: 0.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: Commissioner;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: var(--blue-plaza-active);
        @media (max-width: 1279px) {
            display: none;
        }
}

.common-page__footer-manager {
    display: flex;
    flex-direction: column;
    margin: 0 -2rem;
    padding-top: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border-top: 1px solid var(--border-color, #e5e7eb);
        @media (max-width: 1279px) {
            display: none;
        }
}
.common-page__footer-manager-label {
    margin-bottom: 2px;
    font-family: Commissioner;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
}
.common-page__footer-manager-name {
    font-family: Commissioner;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    color: var(--primary-blue)
}
.common-page__footer-manager-phone {
    font-family: Commissioner;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    color: var(--primary-blue)
}

/* Заголовок страницы */

.common-page__main-header {
    width: 100%;
    padding: 16px 20px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;

    @media (max-width: 767px) {
        padding: 8px 0;
    }

    @media (max-width: 600px) {
        display: block;
    }
}

.common-page__main-header-new {
    height: 48px;
    margin-bottom: 32px;
    width: 100%;
    padding: 0 32px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;

    @media (max-width: 1140px) {
        height: auto;
        flex-direction: column;
        align-items: start;
    }
}

.common-page__main-header-left {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;

    @media (max-width: 767px) {
        padding: 8px 8px 8px 40px;
        vertical-align: bottom;
    }
}

.common-page__main-header-left h1 {
    color: var(--secondary-blue);

    @media (max-width: 767px) {
        font-size: 18px;
        line-height: 150%;
        margin: 0;
    }
}

/*Меню переключения между активными тендерами, заказами и архивом на странице тендеры у заказчика*/

.common-page__page-menu {
    display: flex;
    flex-wrap: nowrap;
    min-height: 72px;
    align-items: center;

    @media (max-width: 767px) {
        min-height: unset;
        display: flex;
        justify-content: flex-start;
        padding: 6px 12px 6px 40px;
    }
}

.common-page__page-menu-item {
    display: inline;
    text-wrap: nowrap;
    font-weight: bold;
    font-size: 24px;
    color: var(--jet-gray);
    text-decoration: none;
    margin-right: 24px;

    @media (max-width: 991px) {
        font-size: 24px;
        margin-right: 20px;
    }

    @media (max-width: 767px) {
        font-size: 20px;
        margin-right: 8px;
    }
}

.common-page__page-menu-item_active,
.common-page__page-menu-item:hover {
    color: var(--primary-blue);
}

.common-page__page-menu-item-new {
    font-family: Commissioner;
    font-weight: 600;
    font-size: 24px;
    line-height: 110%;
    display: inline;
    text-wrap: nowrap;
    color: var(--blue-plaza);
    text-decoration: none;
    margin-right: 24px;

    @media (max-width: 991px) {
        font-size: 24px;
        margin-right: 20px;
    }

    @media (max-width: 767px) {
        font-size: 20px;
        margin-right: 8px;
    }
}

.common-page__page-menu-item-new_active,
.common-page__page-menu-item-new:hover {
    color: var(--blue-plaza-active);
}

.common-page__page-menu-item-new span {
    display: none; 

}

.common-page__page-menu-item-new_active span {
    width: 26px;
    height: 20px;
    gap: 8px;
    border-radius: 40px;
    padding-right: 6px;
    padding-left: 6px;
    font-family: Inter;
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    display: inline-block;
}

.common-page__main-header-add {
    display: block;
    font-size: 16px;
    text-align: center;
    color: var(--neutral-white);
    background-color: var(--primary-blue);
    text-decoration: none;
    border-radius: 8px;
    padding: 8px 12px;
    max-width: 265px;
    width: 100%;
    height: 40px;
    cursor: pointer;

    @media (max-width: 767px) {
        max-width: 215px;
        height: 32px;
        opacity: 1;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 12px;
    }

    @media (max-width: 600px) {
        max-width: 100%;
        margin: 10px 0;
        height: 40px;
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 16px;
    }
}

.common-page__main-header-add-new {
    border: none;
    display: flex;
    align-items: center;
    /* width: 205px; */
    height: 48px;
    border-radius: 12px;
    padding: 12px 32px;
    background-color: var(--blue-plaza-active);
    color: var(--neutral-white);
    font-family: Commissioner;
    font-weight: 400;
    font-size: 16px;
    @media (max-width: 769px) {
        width: 209px;
    }
    @media (max-width: 767px) {
        height: 40px;
        box-sizing: border-box;
        font-size: 14px;
        flex: 1;
        width: 50%;
        justify-content: center;
        padding: 0;
    }
}

.common-page__main-header-add:hover {
    color: var(--neutral-white);
    opacity: .9;
}



.common-page__tenders-list, .promo, .create-tender, .reports-page, .support-page, .common-settings, .templates-page, .setting-menu, .mess-page, .wins-page, .load-tender-page, .driver-add-page, .files-page, .version-page .cabinet-page {
    padding: 16px;
    max-height: calc(100vh - 230px);
    height: calc(100vh - 230px);
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    scrollbar-width: thin;
    border-radius: 8px;

    @media (max-width: 767px) {
        padding: 8px 0;
        overflow-x: auto;
        flex-grow: 1;
        height: auto;
        max-height: unset;
    }

    @media (max-width: 576px) {
        padding: 0;
    }
}

.version-page-new {
    padding: 0 32px;
    max-height: calc(100vh - 230px);
    height: calc(100vh - 230px);
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    scrollbar-width: thin;
    border-radius: 8px;

    @media (max-width: 767px) {
        padding: 8px 0;
        overflow-x: auto;
        flex-grow: 1;
        height: auto;
        max-height: unset;
    }

    @media (max-width: 576px) {
        padding: 0;
    }
}

.reports-page {
    padding: 0 32px 0 32px;
}

.min-remaining-space {
    min-height: 230px;
}

/*Кнопка Уведомления о новых грузах*/
.notification-button, .notification-button:hover, .notification-button:active {
    cursor: pointer;
    text-decoration: none;
    min-width: 280px;
    height: 40px;
    background: var(--primary-blue) url('../image/notification-bing.svg') no-repeat left 12px center;
    line-height: 40px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    color: var(--neutral-white);
    margin: 0;
    white-space: nowrap;

    border-radius: 8px;
    gap: 8px;
    padding: 0 12px 0 32px;

    @media (max-width: 1466px) {
        background-position: center center;
        min-width: 40px;
        width: 40px;
        padding: 0 0 0 40px;
        overflow: hidden;
    }

    @media (max-width: 991px) {
        padding: 0 0 0 32px;
        overflow: hidden;
        height: 32px;
        width: 32px;
        min-width: 32px;
        border-radius: 6px;
        font-size: 12px;
        line-height: 32px;
    }

    @media (max-width: 767px) {
        background-position: left 12px center;
        padding: 0 12px 0 32px;
        flex-grow: 1;
        min-width: 280px;
        width: 100%;
    }

    @media (max-width: 576px) {
        background-position: center center;
        overflow: hidden;
        min-width: unset;
        height: 32px;
        width: 32px;
        padding: 0 0 0 32px;
    }
}

.common-page__pagination {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    padding: 8px 16px;

    @media (max-width: 767px) {
        margin-bottom: 10px;
        padding: 0;
    }
}

.common-page__pagination-new {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px;

    @media (max-width: 1479px) {
        justify-content: space-between;
    }
    @media (max-width: 769px) {
        justify-content: flex-end;
        margin-bottom: 80px;
        padding: 24px 32px 20px 32px;
    }

    @media (min-width: 1280px) {
        position: fixed;
        bottom: 0;
        right: 0;
        z-index: 9;
        margin-bottom: 0;
        background-color: var(--white-smoke);
        transition: left 0.3s ease;
    }
}

@media (min-width: 1280px) {
    .common-page__main-new .common-page__pagination-new {
        left: 121px;
    }

    .common-page__main-new:has(.common-page__pagination-new) {
        padding-bottom: 100px;
    }
}

/* Первый div прижать к левому краю */
.common-page__pagination div:first-child {
  margin-right: auto;
}

.invisible {
    position: absolute;
}

.common-page__pagination form {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;

    @media (max-width: 576px) {
        overflow: hidden;
    }
}

.common-page__pagination label {
    white-space: nowrap;
    font-weight: 600;
    font-size: 20px;
    color: var(--neutral-navy);
    margin-right: 12px;
    text-align: right;

    @media (max-width: 1280px) {
        font-size: 12px;
        line-height: 16px;
        margin-right: 6px;
    }

    @media (max-width: 480px) {
        display: none;
    }
}

.common-page__pagination select  {
    border: 1px solid var(--neutral-marble);
    border-radius: 8px;
    padding: 8px 12px;
    height: 40px;
    box-shadow: none;
    outline: none;
    font-size: 14px;
    box-sizing: border-box;
    background-repeat: no-repeat;

    @media (max-width: 1280px) {
        height: 32px;
        font-size: 12px;
        padding: 4px 3px;
        width: 48px;
            &#nds-percent {
            width: 90px; 
            }
        }
    }

.common-page__company-sheet {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 11;
}

.common-page__company-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.common-page__company-sheet-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--neutral-white);
    border-radius: 20px 20px 0 0;
    padding: 24px 20px 40px;
    transform: translateY(100%);
    /* transition: transform 0.5s ease; */
}

.common-page__company-sheet-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--dark-liver);
}

.common-page__company-sheet-title {
    font-family: Commissioner;
    font-weight: 400;
    font-size: 32px;
    line-height: 110%;
    
    margin: 0 0 16px;
}

.common-page__company-sheet-label {
    color: var(--blue-plaza-active);
    font-family: Commissioner;
    font-weight: 400;
    font-size: 14px;
    margin: 0 0 4px;
}

.common-page__company-sheet-manager-name,
.common-page__company-sheet-manager-phone {
    color: var(--primary-blue);
    font-size: 16px;
    margin: 0 0 4px;
}

.common-page__company-sheet-manager-phone {
    margin-bottom: 24px;
}

.common-page__company-sheet-divider {
    border: none;
    border-top: 1px solid var(--white-smoke-light);
    margin: 0 0 16px;
}

.common-page__company-sheet-link {
    font-family: Commissioner;
    font-weight: 400;
    font-size: 16px;
    line-height: 90%;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    color: var(--blue-plaza-active);
    background-color: var(--white-smoke-light);
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 16px;
}


.common-page__company-sheet-logout {
    height: 48px;
    display: block;
    text-align: center;
    background: var(--blue-plaza-active);
    color: var(--neutral-white);
    border-radius: 12px;
    padding: 16px;
    font-family: Commissioner;
    font-weight: 400;
    font-size: 14px;
    margin-top: 8px;
}

@media (max-width: 1279px) {
    .common-page__side-new {
        position: fixed;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        height: 80px;
        width: 100%;
        flex-direction: row;
        align-items: center;
        padding: 0 16px;
        gap: 16px;
        background: #fff;
        border-top: 1px solid #ddd;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .common-page__side-new::-webkit-scrollbar {
        display: none;
    }

    /* .common-page__sidebar-footer {
        display: contents;
    }

    .common-page__footer-controls {
        display: contents;
    } */

    /* .common-page__sidebar-settings-button {
        display: contents;
    } */
/* 
    .common-page__sidebar-buttons-space-around {
        display: contents;
    } */

    .common-page__sidebar-buttons-space-around > div,
    .common-page__footer-manager {
        display: none;
    }

    .common-page__menu-item-new {
        /* transition: padding 0.5s ease, border-radius 0.5s ease, background-position 0.5s ease; */
        flex: 1 1 48px;
        height: 48px;
        min-height: 48px;
        min-width: 48px;
        border-radius: 50%;
        margin: 2rem 2rem 2rem 0;
        background-size: 24px;
        color: transparent;
        text-indent: -9999px;
        white-space: nowrap;
        overflow: hidden;
        font-family: Commissioner;
        font-weight: 400;
        font-size: 16px;
        line-height: 90%;
            /* @media(max-width: 711px) {
                margin: 0;
            } */
    }

    .common-page__bonus-btn {
        min-width: 48px;
        height: 48px;
    }

    .common-page__footer-icon{
        margin: 32px;
        min-width: 48px;
        height: 48px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--white-smoke-light);
        border-radius: 50%;
            /* @media(max-width: 711px) {
                margin: 0;
            } */
    }
    .common-page__footer-icon-active {
        min-width: 48px;
        min-height: 48px;
        width: 48px;
        height: 48px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .common-page__sidebar-company-section {
        min-width: 48px;
        min-height: 48px;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        padding: 0;
    }

    #idCompanyMenu {
        margin: 32px;
        min-width: 48px;
        min-height: 48px;
        width: 48px;
        height: 48px;
        z-index: 2;
        pointer-events: auto;
        cursor: pointer;
        background-color: var(--white-smoke-light);
        border-radius: 50%;
            /* @media(max-width: 711px) {
                margin: 0;
            } */
    }
}

@media (max-width: 1439px) {
    #idSideToggle {
        display: none;
    }
}


@media (min-width: 1280px) {
    .common-page__side-new:not(.common-page__side-new--collapsed) ~ * .common-page__side-toggle,
    .common-page__side-new:not(.common-page__side-new--collapsed) .common-page__side-toggle {
        left: 213px;
    }
}
@media (min-width: 1439px) {
    .common-page__side-new:not(.common-page__side-new--collapsed) ~ * .common-page__side-toggle,
    .common-page__side-new:not(.common-page__side-new--collapsed) .common-page__side-toggle {
        left: 221px;
    }
}
@media (min-width: 1919px) {
    .common-page__side-new:not(.common-page__side-new--collapsed) ~ * .common-page__side-toggle,
    .common-page__side-new:not(.common-page__side-new--collapsed) .common-page__side-toggle {
        left: 230px;
    }
}



 @media (min-width: 1280px) {
    .common-page__side-toggle {
        display: flex;
        position: fixed;
        left: 6.2rem;
        top: 50vh;
        transform: translateY(-50%);
        width: 29px;
        height: 29px;
        align-items: center;
        justify-content: center;
        background-color: var(--white-smoke-light);
        border: none;
        border-radius: 17px;
        cursor: pointer;
        padding: 0;
        z-index: 11;
        /* transition: left 0.5s ease; */
    }



    .common-page__side-new--collapsed {
        width: 121px;
    }

    .common-page__side-new--collapsed .common-page__menu-new {
        padding: 2rem 2rem 0 2rem;
        overflow-x: hidden;
        scrollbar-width: none;
        flex-wrap: nowrap;
    }

    .common-page__side-new--collapsed .common-page__sidebar-top {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .common-page__side-new--collapsed .common-page__sidebar-bottom {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .common-page__side-new--collapsed .common-page__menu-item-new {
        justify-content: center;
        background-position: center center;
        border-radius: 24px;
    }

    .common-page__side-new--collapsed .common-page_text-to-hide {
        display: none;
    }

    .common-page__side-new--collapsed .common-page__footer-controls {
        display: flex;
        align-items: center;
    }

    .common-page__side-new--collapsed .common-page__sidebar-settings-button span {
        display: none;
    }

    .common-page__side-new--collapsed .common-page__sidebar-settings-button {
        justify-content: center;
        height: 48px;
        width: 48px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .common-page__side-new--collapsed .theme-btn {
        height: 48px;
        width: 48px;
    }

    .common-page__side-new--collapsed .common-page__sidebar-theme-buttons  {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .common-page__side-new--collapsed .common-page__footer-company-info,
    .common-page__side-new--collapsed .common-page__footer-company-name,
    .common-page__side-new--collapsed .common-page__footer-company-user {
        display: none;
    }

    .common-page__side-new--collapsed .common-page__footer-manager {
        display: none;
    }

    .common-page__side-new--collapsed .common-page__sidebar-footer {
        display: none;
    }

    .common-page__side-new--collapsed .common-page__footer-controls {
        flex-direction: column;
    }

    .common-page__side-new--collapsed .common-page__bonus-btn {
        overflow: hidden;
        width: 48px;
        height: 48px;
        justify-content: center;
        gap: 0;
    }

    .common-page__side-new--collapsed .common-page__bonus-btn span {
        display: none;
    }

    .common-page__side-new--collapsed #idCompanyMenu {
        display: none;
    }
    .common-page__side-new--collapsed .common-page__footer-icon--mobile {
        display: flex;
        width: 48px;
        height: 48px;
        background: url("../image/user.svg") center / 24px 24px no-repeat;
        border-radius: 24px;
    }

    .common-page__side-new--collapsed .common-page__sidebar-buttons-space-between:hover {
        background-color: var(--hover-color);
    }
}

.common-page__menu-item_active-new:hover {
    background-color: var(--blue-plaza-active);
    color: var(--neutral-white);
}

@media (max-width: 711px) {
    .common-page__menu-item-new {
        margin: 2rem 0 2rem 0;
    }
}


.common-page__page-menu-new {
    display: flex;
    flex-wrap: nowrap;
    min-height: 72px;
    align-items: center;

    @media (max-width: 1140px) {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        padding: 24px 0 24px 0;
    }
    @media (max-width: 767px) {
        justify-content: space-between;
    }
}

.common-page__wrapper {
    @media (max-width: 1279px) {
        padding-bottom: 112px;
    }
}