.profiles{
    display: grid;
    width: 100%;
    align-items: center;
}
.contentSearchProfile{
    margin-top: 25px;
    width: 50%;
    margin: 0 auto;
    padding-left: 5px;
    padding-right: 5px;
    display: grid;
    align-items: center;
}
.contentsearch{
    display: grid;
    width: 100%;
    align-items: center;
}
.buttonSearch{
    display: grid;
    height: 35px;
    align-items: center;
    background-color: #06f;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.1s ease-in-out;
}

.buttonSearch:hover{
    background-color: rgb(44, 44, 218);
}

.textButtonSearch{
    font-size: 18px;
    text-align: center;
    color: white;
}

.lineProfile{
    width: 100%;
    height: 3px;
    background-color: rgb(104, 103, 103);
    border-radius: 5px;
}

.errorMessage{
    display: grid;
    align-items: center;
    width: 100%;
    height: 50px;
    border: solid red;
    border-radius: 5px;
    cursor: pointer;
}
.textErrorGetProfile{
    text-align: center;
    color: red;
    font-size: 18px;
    width: 100%;
}

.profilesView{
    display: grid;
    flex-direction: column;
    margin-top: 20px;
}

.rowProfileView{
    display: flex;
    height: auto;
    margin-bottom: 15px;
    gap: 15px;
    margin-left: 75px;
    margin-right: 75px;
}

.blockProfile{
    box-sizing: border-box;
    padding: 20px;
}

.gradient-block{
    width: calc(100% - 50px); /* Вычитаем отступы справа и слева */
    margin: 0 auto; /* Центрируем блок по горизонтали */
    padding-top: 25px;
    margin-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
    background: linear-gradient(to top, #63707c77, #73879c00);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: fit-content;
    border-radius: 7px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.left-content, .right-content {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 20px; /* Отступ между блоками */
}
.left-content {
    justify-content: flex-start; /* Выравниваем содержимое к левому краю */
}
.right-content {
    justify-content: flex-end; /* Выравниваем содержимое к правому краю */
}

.iconGroupProfile{
    width: auto;
    height: 155px;
}

.text-fieldProfile{
    color: white;
    margin-left: 25px;
}

.achievement-fieldProfile{
    color: white;
    text-align: center;
    margin-left: auto;
}

.nameViwProfileField{
    font-size: 24px;
}


/* Стили для круговой таблицы */
.circle-chart {
    margin: 0 auto;
    width: 150px;
    height: 150px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.circle-chart .circle {
    position: absolute;
    width: 100%;
    height: 100%;
    clip: rect(0, 150px, 150px, 75px);
    border-radius: 50%;
    background-color: #fff;
}

.circle-chart .bar {
    position: absolute;
    width: 100%;
    height: 100%;
    clip: rect(0, 75px, 150px, 0);
    border-radius: 50%;
    background-color: #ff7e5f;
    transform: rotate(0deg);
    transition: transform 1s;
}

.circle-chart .fill {
    position: absolute;
    width: 100%;
    height: 100%;
    clip: rect(0, 150px, 150px, 75px);
    border-radius: 50%;
    background-color: #ff7e5f;
}

.circle-chart .label {
    font-size: 24px;
    color: #ff7e5f;
    z-index: 2;
}





.boxStatsProfile
{
    width: calc(100% - 50px); /* Вычитаем отступы справа и слева */
    margin: 0 auto; /* Центрируем блок по горизонтали */
    margin-top: 5px;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    background: #73879c00;
    display: grid;
    min-height: fit-content;
    border-radius: 7px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.textStatProfileHead{
    width: 100%;
    text-align: center;
    font-size: 28px;
    color: white;
    margin-bottom: 15px;
}

.topNameAccrording{
    background-color: #212529;
}


.tableStats {
    width: 100%;
    height: 15px;
    border-collapse: collapse;
    margin-bottom: 5px;
}




.textNotProfileRating{
    width: 100%;
    font-size: 18px;
    color: white;
    text-align: center;
    margin-top: 15px;
}

@media screen and (max-width: 1200px) {
    .gradient-block {
        flex-direction: column;
        align-items: center; /* Центрируем элементы по вертикали */
    }
    .left-content, .right-content {
         /* Выравниваем содержимое к левому краю */
        margin-bottom: 10px; /* Уменьшаем отступ между блоками */
    }
    .left-content{
        margin-bottom: 10px;
        align-items: center;
        justify-content: center;
    }
    .left-content img { /* Убираем отступ справа у изображения */
        margin-bottom: 10px; /* Добавляем отступ снизу для изображения */
    }
    .right-content {
        flex-direction: row; /* Отображаем блоки один под другим */
        flex-wrap: wrap;
        justify-content: center;
        margin-left: 0; /* Убираем отступ слева у блока справа */
    }

    .text-fieldProfile{
        text-align: left;
    }
}

.lineProfile{
    width: 100%;
    height: 5px;
    background-color: #212529;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25), 0 5px 5px rgba(0, 0, 0, 0.22);
}

.contentButtonAddRating{
    display: grid;
    width: 100%;
    justify-content: center;
    margin-top: 15px;
}
.accordion-button::after  {
    filter: drop-shadow(0 0 0 white);
}

.buttonAddCurrentProfileToRating {
    bottom: 20px; /* Расположение кнопки в нижнем правом углу */
    right: 20px;
    width: 200px; /* Фиксированная ширина кнопки */
    height: 40px; /* Фиксированная высота кнопки */
    background-color: blue;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

@media only screen and (max-width: 1000px)
{
    .contentSearchProfile{
        width: 100%;
        margin-left: 0px;
    }
}

@media screen and (max-width: 730px)
 {
    .right-content{
        width: 70%;
    }
    .gradient-block{
        width: calc(100% - 10px);
    }
    .boxStatsProfile{
        width: calc(100% - 10px);
    }
    .tableStats td {
        font-size: 13px;
    }

    .tableStats td:nth-child(2) {
        font-size: 13px;
    }

    .ratingProfileTable .buttonFollowRating td {
        font-size: 14px;
    }
}

@media screen and (max-width: 560px)
 {
    .right-content{
        width: 100%;
    }

    .nameAh{
        width: 90px;
        font-size: 10px;
        line-height: 1;
    }
 }