.profile-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 10px;
}

.user-info h1
{
    font-size: 24px;
    letter-spacing: -0.318182px;
    color: var(--pirs-gray);
    font-weight: normal;
    margin: 0;
}
.engineer-designer {
    font-size: 14px;
    letter-spacing: -0.318182px;
    color: var(--pirs-gray);
    font-weight: normal;
    margin: 0;
}

.profile-fillness .user-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.profile-info-container {
    margin-left: 25px;
    width: calc(100% - 205px);
}

.profile-header {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-top: 20px;
    margin-top: 20px;
}

.profile-tab-content {
    height: 490px;
    overflow-y: auto;
}

.round-in {
    width: 90px;
    height: 90px;
}

a.pirs-btn-contact,
a.pirs-btn-contact:hover,
a.pirs-btn-contact:active,
a.pirs-btn-contact:focus {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.profile-body-parts {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 15px;
    width: 100%;
}

.reward {
    width: 200px;
    max-height: 210px;
}

.reward-flex {
    width: 200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    align-content: space-between;
}

.reward-flex img {
    object-fit: cover;
    object-position: 50% 50%;
}

#about {
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--pirs-blue) #4A4A4A;
}
#about::-webkit-scrollbar{
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: #4A4A4A;
}
#about::-webkit-scrollbar-thumb {
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: var(--pirs-blue);
}

.empty,
.feedback-view,
#about,
.education-place,
.job-place,
.reward-flex,
.portfolio-view {
    margin-bottom: 15px;
    background-color: var(--pirs-bg3);
}

.empty {
    height: 100%;
    width: 100%;
}

.empty,
#about,
.education-place,
.job-place,
.reward-flex,
.portfolio-view {
    padding: 15px;
}

#firms,
.empty,
#feedback,
.feedback-view,
#about,
#portfolio,
.portfolio-view,
#education,
.education-place,
#jobPlace,
.job-place,
#rewards {
    border-radius: 5px;
    width: 100%;
}

.portfolio-info,
#rewards.active {
    flex-wrap: wrap;
}

.portfolio-info,
#rewards.active,
.feedback-view {
    display: flex;
}

#rewards.active {
    justify-content: flex-start;
    height: max-content;
}

.portfolio-name {
    font-size: 18px;
    letter-spacing: -0.5px;
}

.portfolio-building_function {
    font-size: 14px;
    letter-spacing: -0.5px;
    padding: 26px 0;
}

.portfolio-description {
    font-weight: 300;
    font-size: 13px;
    letter-spacing: -0.272727px;
}

.portfolio-view .file-preview {
    border: none;
}

.reward-container {
    margin: 0 20px;
}
.feedback-type {
    width: 100px;
}

.feedback-date {
    width: 70px;
}

.feedback-ratings {

}

.feedback-ratings .glyphicon-star {
    font-size: 14px;
    margin: 0;
}

.feedback-ratings .rating {
    display: flex;
    justify-content: space-between;
    font-weight: normal;
    font-size: 14px;
    letter-spacing: -0.1px;
    color: var(--pirs-gray);
    height: 20px;
}

.feedback-ratings {
    width: 140px;
}

.feedback-column {
    margin: 0 15px;
}

.feedback-comment {
    width: calc(100% - 570px);
}

.profile-fillness {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 180px;
}

.profile-fillness progress {
    width: 100%;
    margin-top: 10px;
    background-color: var(--pirs-pale-gray);
    border: none;
    border-radius: 10px;
}

.profile-fillness progress::-moz-progress-bar {
  background: var(--pirs-blue);
  border-radius: 10px;
}

.profile-fillness progress::-webkit-progress-bar {
    background-color: var(--pirs-pale-gray);
    border-radius: 10px;
}

.profile-fillness progress::-webkit-progress-value {
  background: var(--pirs-blue);
  border-radius: 10px;
}

.profile-fillness span{
    position: relative;
    top: -17px;
    color: var(--pirs-white);
}

.profile-fillness span:hover ~ #fullness-title,
.fullness:hover ~ #fullness-title {
    display: block;
}

#fullness-title:before {
    content: '';
    position: absolute;
    left: 40px;
    top: -20px;
    border: 10px solid transparent; /* Прозрачные границы */
    border-bottom: 10px solid var(--pirs-gray); /* Добавляем треугольник */
}

#fullness-title {
    display: none;
    position: absolute;
    border: 1px solid var(--pirs-gray);
    background-color: var(--pirs-bg3);
    border-radius: 5px;
    padding: 5px 10px;
    z-index: 5000;
    margin-top: 184px;
}

.user-ratings {
    display: flex;
    justify-content: space-between;
    min-width: calc(100% - 360px);
}

.portfolio-files {
    margin-top: 10px;
    padding: 5px 15px;
}

.dropdown-menu.invite-dropdown {
    left: 38px;
    min-width: 120px !important;
    background-color: var(--pirs-blue);
    cursor: pointer;
}

.invite-dropdown li{
    font-size: 14px;
    padding: 3px 10px !important;
    color: var(--pirs-white);
}

.invite-dropdown li:hover,
.invite-dropdown li:active,
.invite-dropdown li:focus {
    font-size: 14px;
    color: var(--pirs-white);
    background-color: var(--pirs-pale-gray);
}


@media screen and (max-width: 767px) {
    .profile-tab-content {
        width: 100%;
    }

    .user-ratings,
    .profile-body-parts,
    .profile-header {
        justify-content: space-around;
    }
    .profile-info-container {
        width: auto;
        margin: 10px;
    }

    .user-ratings,
    .feedback-ratings .rating,
    .portfolio-info,
    #rewards.active,
    .feedback-view {
        flex-wrap: wrap;
    }
}