@media (min-width: 1980px) {
    .register-form__bg {
        max-width: 1140px;
        width: 100%;
    }
}

@media (max-width: 1679px) {
    .registerForm-section {
        min-height: auto;
    }

    .register-logo {
        margin-bottom: 40px;
    }

    .block-width-min {
        width: 340px;
    }

    /*страница программы*/
    .programs-search {
        flex: 1 1 30%;
    }

    .programs-controls_radio {
        flex: 1 1 calc(70% - 20px);
    }


    .programs-controls_radio {
        gap: 10px;
    }

    .filter-section {
        gap: 10px;
    }


    /*страница программы*/
    /*страница профиля*/
    .profileCard-item__wrap {
        flex-direction: column;
    }

    .profileCard-item__wrap .profileCard-item {
        max-width: 100%;
    }

    .top-section {
        margin-top: -110px;
    }

    /*страница профиля*/
    .register-form__bg {
        max-width: 100%;
    }

    /*#новые страницы*/
    /*Мои программы*/
    /*.userPrograms-date {*/
    /*    max-width: 140px;*/
    /*    min-width: 140px;*/
    /*}*/

    .userPrograms-date {
        max-width: unset;
        min-width: 100px;
    }


    /*Мои программы*/
    /*#новые страницы*/
}

@media (max-width: 1399px) {
    h1 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-header {
        padding: 32px 0;
        padding-left: 20px;
    }

    /*меню*/
    .right-column {
        width: calc(100% - 88px);
    }

    .left-column {
        width: 90px;
        transition: 1s;
    }

    .linkIcon {
        height: 22px;
        width: 22px;
        min-width: 22px;
    }

    .linkIcon-active {
        height: 22px;
        width: 22px;
        min-width: 22px;
    }

    .sidebar-logo-tablet,
    .sidebar-logo {
        height: 56px;
    }

    .sidebar-logo {
        padding: 0;
    }

    .sidebar {
        padding: 24px 16px;
    }

    .menu-link {
        padding: 0px;
    }

    .menu-item {
        padding: 16px;
    }

    .menu-link__item {
        overflow: hidden;
        height: 22px;
    }

    .menu-link__item span {
        display: none;
        width: calc(100% - 32px);
    }

    .sidebar .dropdown-btn::after {
        display: none;
    }

    .submenu {
        display: none;
    }

    .sidebar-logo .logo {
        display: none;
    }

    .sidebar-footer {
        display: none;
    }

    .tabletMenuButton {
        display: block;
    }

    .notification-badge {
        position: absolute;
        top: -10px;
        right: -5px;
    }

    .sidebar-logo .logo-tablet {
        display: block;
    }

    /*появление меню добавлением класса menuOpened*/
    .menuOpened.left-column {
        width: 290px;
        transition: 1s;
    }

    .menuOpened .menu-item {
        padding-right: 16px;
    }

    .menuOpened .menu-link__item span,
    .btnAnimation .menu-link__item {
        display: flex;
    }

    .menuOpened .dropdown-btn::after {
        display: block;
    }

    .menuOpened .sidebar-footer,
    .btnAnimation .sidebar-footer {
        display: flex;
    }

    .menuOpened .sidebar-logo .logo,
    .btnAnimation .sidebar-logo .logo {
        display: block;
        padding: 0 24px;
    }

    .menuOpened .btn-menu.btn-arrow-gray::before,
    .btnAnimation .btn-menu.btn-arrow-gray::before {
        transform: rotate(180deg);
    }

    .menuOpened .openedText span,
    .btnAnimation .openedText span {
        display: block;
    }

    .menuOpened .notification-badge,
    .btnAnimation .notification-badge {
        position: relative;
        top: auto;
        right: auto;
    }

    .menuOpened .logo-tablet,
    .btnAnimation .logo-tablet {
        display: none;
    }

    /*появление меню добавлением класса menuOpened*/
    .menu-link__item {
        font-size: 16px;
    }

    .submenu-link {
        font-size: 14px;
    }

    .submenu {
        gap: 20px;
        padding: 8px 24px 0px 24px;
    }

    .sidebar-logo-text {
        font-size: 10px;
    }

    .sidebar-footer__link {
        font-size: 12px;
    }

    /*меню*/
    /*кнопки*/
    .btn-large {
        padding: 12px 25px;
        font-size: 13px;
    }

    /*кнопки*/
    /*форма*/
    .checkbox label,
    .checkbox label a {
        font-size: 15px;
    }

    /*форма*/
    /*страница профиля*/
    .profile-header__wrap {
        margin-bottom: 30px;
    }

    .profile-header {
        padding-bottom: 70px;
    }


    .profileCard-text {
        font-size: 14px;
    }

    .profileCard-item {
        padding: 10px 12px;
        gap: 6px;
    }

    .profileCard-block {
        display: flex;
        flex-direction: column;
        gap: 8px;
        border-top: 1px solid #d3dae9;
        padding-top: 16px;
    }

    /*страница профиля*/
    /*страница программы*/
    .section {
        padding-top: 40px;
    }

    .filter-section {
        gap: 10px;
    }

    .programs-controls_radio {
        gap: 10px;
    }

    .program-details {
        gap: 10px;
    }

    .programs-controls_radio .btn-large {
        min-height: 100%;
    }

    .filter-section .form-field {
        padding: 13px 16px;
    }

    .filter-section .date-wrapper .flatpickr-input {
        background-position: right 16px top 13px;
        padding-right: 36px;
    }

    .category-button {
        padding: 8px 16px;
        font-size: 13px;
    }

    .category-button {
        padding: 8px 14px;
    }

    /*страница программы*/
    /*страница входа/регистрации*/
    .register-logo img {
        max-width: 220px;
    }

    .register-logo .sidebar-logo-text {
        font-size: 11px;
    }

    .register-logo {
        margin-bottom: 40px;
    }

    .registerForm-button .btn-large {
        padding: 16px 34px;
        font-size: 14px;
    }

    /*страница входа/регистрации*/
    /*#новые страницы*/
    /*мои документы*/
    /*Модальное окно*/
    .fixed-modal__wrap {
        padding: 70px 60px;
        gap: 20px;
    }

    .fixed-modal {
        width: 600px;
    }

    /*Модальное окно*/
    /*мои документы*/
    /*Программы модалка*/
    .programsModal__wrapper {
        padding-bottom: 40px;
    }

    /*Программы модалка*/
    /*#новые страницы*/

}

@media (max-width: 1199px) {
    .section {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .block-width-min {
        max-width: none;
        position: relative;
        top: 0;
    }

    /*страница программы*/
    .filter-section {
        flex-direction: column;
    }

    .programs-search {
        flex: 1 1 100%;
    }

    .programs-controls_radio {
        flex: 1 1 100%;
    }

    .program-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .program-info {
        border-bottom: 1px solid #f2f7ff;
        padding-bottom: 15px;
    }

    .programs-button {
        display: flex;
        flex: 1;
        justify-content: flex-end;
    }

    .program-details {
        width: 100%;
        gap: 10px;
    }

    .program-date {
        flex: none;
        width: 117px;
    }

    .pagination {
        padding-top: 40px;
    }

    /*страница программы*/
    /*страница профиля*/
    .profile-info {
        gap: 10px;
        flex-direction: column;
    }

    .profileCard-left .profileCard-block {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .profileCard-left .profileCard-item {
        flex: 1;
    }

    .profileCard-left {
        width: 100%;
    }

    .profileCard-right {
        width: 100%;
    }

    .profileEmpty__block {
        padding: 24px;
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .profileEmpty__title {
        font-size: 18px;
    }

    /*страница профиля*/
    /*страница входа/регистрации*/
    .registerForm-section {
        min-height: unset;
    }

    .register-form {
        height: auto;
        flex-direction: column;
        padding-top: 60px;
    }

    .register-form__left {
        padding: 40px;
        border-radius: 20px;
        flex-wrap: wrap;
        width: 460px;
        margin: auto;
        z-index: 1;
    }

    .register-form__right {
        width: 100%;
        padding: 0 20px;
        margin-top: -90px;
    }

    .fade-in,
    .fade-out,
    .tab-content {
        min-height: max-content;
    }

    /*страница входа/регистрации*/
    /*#новые страницы*/
    /*мои документы*/
    .program-name_large {
        font-weight: 500;
        font-size: 16px;
    }

    .filter-documents-section {
        gap: 10px;
    }

    .documents-category-section {
        margin-bottom: 30px;
    }

    /*Модальное окно*/
    .doc-status__info {
        gap: 6px;
    }

    .profileCard-titel {
        font-size: 14px;
    }

    /*Модальное окно*/
    /*мои документы*/
    /*Мои программы*/
    .userPrograms-card__content {
        gap: 20px;
        flex-direction: column;
    }

    .userPrograms-info {
        width: 100%;
        border-bottom: 1px solid #d3dae9;
        padding-bottom: 15px;
    }

    /*.userPrograms-date {*/
    /*    max-width: 120px;*/
    /*    min-width: 120px;*/
    /*}*/

    .filter-userPrograms-section {
        flex-direction: column;
        gap: 10px;
    }

    .userPrograms-controls_radio {
        gap: 10px;
        min-height: 48px;
    }

    .category-section__scroll {
        flex-wrap: nowrap;
        margin-right: -20px;
        overflow: scroll;
        gap: 4px;
        width: calc(50vw + 100% / 2);
        width: calc((50vw - 45px) + 100% / 2);
    }

    .category-section__scroll::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .category-section__scroll > * {
        min-width: max-content;
    }

    .category-section__scroll > *:last-child {
        margin-right: 20px;
    }

    /*Мои программы*/
    /*Уведомления*/
    .notification-contant p,
    .notification-contant a,
    .notification-contant li,
    .notification-contant ul,
    .notification-contant span {
        font-size: 14px;
    }

    .notificationDate {
        flex: 0 1 33%;
    }

    .notification-search {
        flex: 0 1 67%;
    }

    /*Уведомления*/
    /*#новые страницы*/
}

@media (max-width: 991px) {
    .layout-two-one {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    /*#новые страницы*/
    /*мои документы*/
    .tooltip-text {
        width: 330px;
        padding: 20px;
        gap: 8px;
    }

    .tooltip-info {
        font-size: 13px;
    }

    .docStatus-title {
        font-size: 15px;
    }

    .tooltip-header {
        gap: 4px;
        flex-direction: column;
    }

    /*мои документы*/
    /*Программы модалка*/
    .programsModal__point {
        padding: 12px 16px;
    }

    .programsModal__wrapper {
        gap: 40px;
    }

    /*Программы модалка*/
    /*#новые страницы*/
}

@media (max-width: 767px) {
    .page-header {
        padding-left: 0;
        margin-left: 0;
        padding-top: 32px;
        padding-bottom: 24px;
    }

    h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 16px;
    }

    p {
        font-size: 13px;
    }

    .text-large {
        font-size: 15px;
    }

    .section {
        padding-top: 20px;
        padding-bottom: 60px;
    }

    .top-section {
        margin-top: -160px;
    }

    .layout-three-two {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .layout-three-two > *:nth-last-child(1):nth-child(odd) {
        grid-column: span 2;
    }

    /*меню*/
    .left-column {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .right-column {
        width: 100%;
        max-width: 100%;
        padding-top: 60px;
    }

    .sidebar-logo .logo {
        display: flex;
    }

    .sidebar-logo .logo-tablet {
        display: none;
    }

    .sidebar-logo {
        display: flex;
        justify-content: space-between;
    }

    .mobileMenuButton {
        display: block;
    }

    .menu-link__item span {
        display: block;
    }

    .sidebar-footer {
        display: block;
    }

    .tabletMenuButton {
        display: none;
    }

    .sidebar .dropdown-btn::after {
        display: block;
    }

    .mobileMenuButton {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 7px;
        border-radius: 10px;
        background: #F2F7FF;
        padding: 12px 16px;
    }

    .mobileMenuButton .opened {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .mobileMenuButton span {
        height: 2px;
        background: #FFFFFF;
        width: 14px;
        display: block;
        flex-wrap: wrap;
        transition: transform 0.3s ease-in-out;
        transform-origin: left;
        background: #447BF8;
    }

    .openedText {
        color: #17181B;
        font-size: 12px;
        font-weight: 700;
        line-height: 140%;
        text-transform: uppercase;
    }

    .sidebar-wrap {
        display: none;
    }

    /*раскрвтие мобиольного меню*/
    .mobile-menu-active .sidebar-wrap {
        display: flex;
    }

    .left-column.mobile-menu-active {
        height: 100vh;
    }

    /*раскрвтие мобиольного меню*/
    .left-column {
        position: fixed;
        top: 0;
        transition: none;
        border-radius: 0px 0px 10px 10px;
        box-shadow: 0px 4px 20px 0px rgba(118, 122, 197, 0.10);
    }

    .sidebar {
        padding: 0;
        gap: 0;
    }

    .sidebar-logo {
        padding: 10px 20px;
    }

    .sidebar-logo-tablet,
    .sidebar-logo {
        height: 60px;
        display: flex;
        align-items: center
    }

    .sidebar-logo .logo {
        max-width: 160px;
    }

    .sidebar-logo-text {
        font-size: 7px;
    }

    .sidebar-wrap {
        padding: 20px 20px 24px 20px;
        border-top: 1px solid #D3DAE9;
    }

    /*меню*/
    /*страница программы*/
    .filter-programs-mobile {
        display: flex;
    }

    .filter-section {
        display: none;
        margin-top: 24px;
    }

    .filter-section.active {
        display: flex;
    }

    .filter-programs {
        background: #fff;
        border-radius: 10px;
        padding: 13px 16px;
    }

    .programs-controls_radio {
        flex-wrap: wrap;
    }

    .programs-controls_radio .btn-large {
        width: calc(50% - 5px);
    }

    .programs-controls__btn {
        width: 100%;
    }

    .category-section {
        flex-wrap: nowrap;
        margin-right: -20px;
        overflow: scroll;
        gap: 4px;
        width: calc(50vw + 100% / 2);
    }

    .category-section::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .category-button {
        min-width: max-content;
        padding: 8px 18px;
        font-size: 15px;
    }

    .category-button:last-child {
        margin-right: 20px;
    }

    .program-card {
        gap: 12px;
        padding: 24px;
    }

    .program-info {
        padding-bottom: 12px;
    }

    .pagination {
        padding-top: 20px;
    }

    /*страница программы*/
    /*страница профиля*/
    .profile-header__wrap {
        margin-bottom: 20px;
    }

    .profile-header {
        padding-bottom: 140px;
    }

    .btn-program {
        width: 100%;
        margin-top: 12px;
    }

    .profileCard-left .profileCard-block {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .profileCard-document {
        gap: 5px;
        flex-direction: column;
    }

    .profileCard {
        padding: 16px;
    }

    .layout-container {
        gap: 8px;
    }

    .profileCard-document__image {
        padding: 16px;
    }

    .profileCard-text-mobile {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .profileCard-titel {
        font-size: 13px;
    }

    .editProfile-btn::before {
        display: block;
    }

    .profile-header__btn .btn {
        padding: 12px;
    }

    .exit-btn::before {
        display: block;
    }

    .profile-header__btn .btn span {
        display: none;
    }

    .profileEmpty__button {
        width: 100%;
        flex-direction: column;
    }

    /*страница профиля*/
    /*страница входа/регистрации*/
    .register-form {
        padding-top: 0px;
    }

    .register-form__left {
        width: 100%;
        border-radius: 0 0 20px 20px;
        margin: 0;
    }

    .registerForm-section {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }

    .register-form__right {
        padding: 0 20px;
        margin-top: -50px;
    }

    .register-form__bg {
        max-width: 100vw;
        height: auto;
        width: 100%;
        max-height: 100%;
    }

    .register-logo {
        margin-bottom: 20px;
    }

    .registerForm-nav {
        gap: 20px;
        margin-bottom: 20px;
    }

    .registerForm__btn {
        font-size: 18px;
    }


    /*страница входа/регистрации*/
    /*форма*/
    .form-field {
        padding: 13px 16px;
        font-size: 15px;
    }

    .fade-in,
    .fade-out,
    .tab-content {
        min-height: max-content;
    }

    /*форма*/
    /*#новые страницы*/
    /*404*/
    .error p {
        font-size: 13px;
    }

    .error {
        min-height: calc(100vh - 60px);
    }

    /*404*/
    /*мои документы*/
    .tooltip-text {
        width: calc(100% + 32px);
        left: -16px;
        top: auto;
        transform: translateY(4px);
        padding: 16px;
    }

    .tooltip {
        position: unset;
    }

    .documentsStatus {
        position: relative;
    }

    .filter-documents-section {
        flex-direction: column;
    }

    .documents-category-section {
        margin-bottom: 20px;
    }

    .documents-card {
        gap: 16px;
        padding: 16px;
        flex-direction: column;
        align-items: normal;
    }

    .documentsDetails-point {
        font-size: 13px;
    }

    .documents-details .btn-program {
        margin-top: 0;
    }

    .tooltip-text::before {
        display: none;
    }

    /*Модальное окно*/
    .fixed-modal {
        width: 100vw;
        border-radius: 20px 20px 0 0;
    }

    .fixed-modal__close {
        display: none;
    }

    .fixed-modal__wrap {
        padding: 40px 20px;
    }

    .doc-status__point {
        padding: 16px;
    }

    .doc-status__top {
        flex-direction: column;
        gap: 4px;
    }

    .docStatus-title {
        order: 1;
    }

    .docStatus-info {
        font-size: 13px;
    }

    .doc-status__info {
        border-radius: 10px;
        padding: 8px 16px;
    }

    .fixed-modal__btn-mobile {
        display: flex;
    }

    /*Модальное окно*/
    /*мои документы*/
    /*Мои программы*/
    .category-section__scroll {
        width: calc(50vw + 100% / 2);
    }

    .userPrograms-card {
        padding: 16px;
    }

    .userPrograms-details {
        flex-wrap: wrap;
    }

    .userPrograms-controls_radio {
        flex-direction: column;
        min-height: unset;
    }

    .application-type,
    .application-year {
        width: 100% !important;
        height: 48px;
    }

    .application-type .inputwrap__inner,
    .application-year .inputwrap__inner {

    }

    /*Мои программы*/
    /*Уведомления*/
    .notification {
        padding: 16px;
    }

    .notification-date {
        font-size: 12px;
    }

    .notification-top {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: start;
    }

    .notification:has(.notification-statusPoint) .notification-top {
        align-items: center;
    }

    .notification:has(.notification-statusPoint) .notification-title {
        min-width: 100%;
        order: 1;
    }

    .notification-header__btn-mobile {
        display: flex;
        margin-top: 20px;
    }

    .notification-header__btn {
        display: none;
    }

    /*Уведомления*/
    /*Нужна помощь модалка*/
    .HelpForm-messageSuccess {
        gap: 20px
    }

    .HelpForm-messageSuccess__btn,
    .HelpForm-messageSuccess__text {
        gap: 10px;
    }

    /*Нужна помощь модалка*/
    /*Программы модалка*/
    .programsModal__wrapper {
        gap: 20px;
    }

    /*Программы модалка*/
    /*#новые страницы*/
}

@media (max-width: 575px) {

    /*страница входа/регистрации*/
    .register-form__left {
        padding: 20px;
    }

    .top-section {
        margin-top: -180px;
    }

    .profile-header {
        padding-bottom: 160px;
    }

    /*#новые страницы*/
    /*404*/
    .error__button {
        grid-template-columns: repeat(1, 1fr);
        width: 100%;
        gap: 10px;
    }

    .error__button .btn {
        width: 100%;
    }

    .error .block {
        gap: 20px;
    }

    /*404*/
    /*#новые страницы*/
}

@media (max-width: 374px) {
}

@media (max-width: 359px) {
    .layout-two {
        flex-wrap: wrap;
    }

    .layout-two > div {
        flex: auto;
        width: auto;
    }

    /*страница профиля*/
    .profileCard-left .profileCard-block {
        grid-template-columns: repeat(1, 1fr);
    }

    .profileCard-titel {
        font-size: 12px;
    }

    .profileCard-text {
        font-size: 12px;
    }

    /*страница профиля*/
    /*#новые страницы*/
    /*мои документы*/
    .documents-category-btn {
        font-size: 13px;
        padding: 5px 13px;
        font-size: 15px;
    }

    /*мои документы*/
    /*#новые страницы*/
}