@media (max-width: 1568px) {
    .profile {
        margin-top: 220px;
    }
    .container-acc {
        width: 740px;
    }
    .adv-block {
        width: calc(50% - 20px);

    }
    .container-vac {
        width: 100%;
        margin-left: 20px;
        margin-right: 20px;
    }
    .container-serv {
        width: 1020px;
    }
    .form-cont-flex {
        flex-direction: column;
    }
    .table-history th:first-child {
        width: 50px;
    }
    .table-history th:nth-child(2) {
        width: 100px !important;
    }

    .table-history th:nth-child(3) {
        width: 250px !important;
    }

    .table-history th:nth-child(4) {
        width: 150px !important;
    }
    .advantages {
        justify-content: center;
    }
    .advantages2 {
        justify-content: center;
    }
}

@media (max-width: 1050px) {
    .container-serv {
        width: 1020px;
    }
    .service-list {
        justify-content: center;
    }
    .detail-services {
        text-align: center;
    }
    .detail-services2 {
        text-align: center;
    }
    .profile2 {
        flex-direction: column;
    }
    .div-detail-main {
        display: flex;
        width: 100%;
        justify-content: center;
    }
    .div-detail-text{
        text-align: center;
    }
    /*.adv-block2 {*/
    /*    width: 50%!important;*/
    /*}*/
    .profile2 {
        margin-top: 220px;
    }
    .div-detail-text {
        font-size: 43px;
    }
}

@media (max-width: 798px) {
	.ft_logo {
		/*max-width: 90px;*/
	}
    .darkside2 {

        width: auto;
        min-height: 120px;
        padding: 10px;
    }
    .profile {
        margin-top: 120px;
        font-size: 43px;
    }
    .container-acc {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    .personal-data {
        width: 100%;
    }
    .personal-data2 {
        width: 100%;
    }
    .icon-form {
        left: 90%;
    }
    /*.table-history th:nth-child(2),*/
    /*.table-history td:nth-child(2) {*/
    /*    display: none;*/
    /*}*/
    .div-vacancies {
        gap: 30px;
    }
    .text-side2 {
        width: 100%;
    }
    .darkside {

        height: 80px;

    }
}

@media (max-width: 700px) {
    .table-history th:nth-child(3) {
        width: 170px !important;
    }
    .text-side2{
        font-size: 13px;
    }
    .darkside-vector2 img{
        width: 30px;
    }


    .text-side {
        margin-top: 40px;
        text-align: center;
        font-weight: 500;
        font-size: 15px;
    }
    .adv-block {
        min-height: 250px;
    }
    .table-history th:nth-child(4) {
        width: 100px !important;
    }
    .div-vacancies {
        flex-direction: column;
    }
    .profile {
        text-align: center;
    }
    .div-depart {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .profile2 {
        margin-top: 120px;
    }
    .div-detail-text {
        font-size: 38px;
    }
    .darkside {

        height: 75px;

    }
}
.mobile-table {
    display: none!important;
}

body > div > div > table > tbody > tr:nth-child(1) > td:nth-child(6){
    text-align: center;
}
@media (max-width: 550px) {
    .adv-block {
        min-height: 230px;
    }
    .darkside {

        height: 65px;

    }
    .desk-table {
        display: none!important; /* Скрываем старые данные для мобильной версии */
    }

    .mobile-table {
        display: flex!important; /* Показываем новую строку на мобильных устройствах */
    }

    .details-column {
        display: flex;
        flex-direction: row; /* Размещаем элементы в ряд */
        align-items: center;
    }

    /* Добавляем flexbox для ячеек в строке */
    .table-history tr {
        display: flex;
        flex-direction: row;
        height: fit-content!important;
        width: 100%;
    }

    /* Каждая ячейка теперь будет занимать 1/3 ширины экрана */
    .table-history td {
        display: flex;
        justify-content: flex-start;
        text-align: left; /* Выравнивание текста слева для мобильных */
        padding: 10px 15px; /* Добавим отступы */
        /*width: 33.33%; */
        box-sizing: border-box;
    }
    tr{
        display: flex;
        padding: 20px 0;
        align-items: center; /* Вертикальное выравнивание */
        justify-content: center; /* Горизонтальное выравнивание (по центру) */
        height: 100%; /* Чтобы контейнер занимал всю высоту ячейки */
    }
    .td-img {
        padding: 0!important;
        margin: 10px 15px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    /* Секция с текстом, логистикой и датой */
    .service-column {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-left: 10px;
        width: 60%;
    }

    .service-name, .service-date, .service-status {
        margin-bottom: 15px; /* Отступы между элементами */
    }

    .download-btn {
        display: flex;
        justify-content: center;
        margin-left: 10px;
    }

    .table-history thead {
        display: none; /* Скрываем заголовки таблицы */
    }
}

@media (max-width: 450px) {
    .adv-block {
        min-height: 170px;
    }
    .darkside {

        height: 50px;

    }
    .white-side2 {
        width: 100%;
        height: 100%;
        padding: 10px 10px 10px;
    }
    .text-side2 {
        font-size: 11px;
    }
    .text-side {
        margin-top: 30px;

        font-size: 11px;
    }
    .darkside-vector2 img {
        width: 20px;
    }
    .profile {
        margin-top: 20px;
        font-size: 25px;
    }
    .icon-form {
        left: 85%;
    }
    .change-button {
        width: 100%;
    }
    .section-title {
        width: 170px
    }
    /*.div-section-info {*/
    /*    height: 115px;*/
    /*}*/
    /*.adv-block {*/
    /*    width: 100%;*/
    /*}*/
    .service-info {
        width: 100%;
    }
    .list-text {
        width: 100%;
    }
    .list-text2 {
        width: 100%;
    }
    .div-detail-text {
        font-size: 33px;
    }
    .detail-services {
        font-size: 28px;
    }
    .detail-services2 {
        font-size: 28px;
    }
    .card-text2,.card-text {
        font-size: 13px;
        width: 100%;
    }
    .ser-button {
        font-size: 14px;
    }
}
@media (max-width: 410px) {
    .card-text2,.card-text, .card-text3 {
        font-size: 10px!important;
        width: 100%;
    }
    .ser-button {
        font-size: 11px;
    }
}