@media(max-width: 1024px) {
    .submain__profile-page {
        width: calc(100% + 40px);
        overflow: hidden;
        padding-left: 20px;
        margin-left: -20px;
        padding-right: 20px;
    }
}

@media(min-width: 1024px) {
    .submain__profile-page {
        overflow: hidden;
        width: calc(100% + 20px);
        padding-left: 20px;
        padding-right: 20px;
        overflow: hidden;
    }
}

.sidebar__profile {
    display: block;
}

.profile-card {
    padding: 34px 29px 42px 32px;
    background: var(--white);
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.13);
    border-radius: 15px;
    margin-bottom: 20px;
}
@media (max-width: 460px) {
    .profile-card {
        padding: 28px 24px 30px 24px;
    }
}

.profile-header {
    display: grid;
    grid-template-columns: 45fr 55fr;
    gap: 25px;
}

@media (max-width: 1024px) {
    .profile-header {
        display: grid;
        grid-template-columns: 1fr;
    }
}

.profile-header__info-wrapper {
    display: flex;
}

/*.profile__icon {*/
/*    border: 3px solid #FFA800;*/
/*    box-sizing: border-box;*/
/*    border-radius: 50%;*/
/*    margin-right: 16px;*/
/*    width: 108px;*/
/*    height: 108px;*/
/*}*/

/*.profile-icon__info {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    margin-top: 28px;*/
/*}*/

/*.profile__icon-name {*/
/*    font-weight: bold;*/
/*    font-size: 22px;*/
/*    line-height: 120%;*/
/*    color: var(--black);*/
/*}*/

/*.profile__icon-date-register {*/
/*    font-size: 18px;*/
/*    line-height: 120%;*/
/*    color: rgba(0, 0, 0, 0.45);*/
/*}*/

.profile-header__info {
    display: flex;
    flex-direction: column;
}

.profile-header__name {
    font-weight: bold;
    font-size: 22px;
    line-height: 120%;
    color: var(--black);
}

.profile-header__date-register {
    font-size: 18px;
    line-height: 120%;
    color: rgba(0, 0, 0, 0.45);
}

.profile-fullness {
    background: #F6F6F6;
    border-radius: 10px;
    padding: 27px 11px 28px 25px;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
}

@media (max-width: 576px) {
    .profile-fullness {
        padding: 27px 11px 28px 25px;
        flex-direction: column;
    }
}

.profile-fullness__description {
    display: flex;
    flex-direction: column;
    padding-left: 27px;
    padding-top: 10px;
}

@media (max-width: 576px) {
    .profile-fullness__description {
        padding-left: 0px;
        padding-top: 20px;
    }
}

.profile-fullness__text-number {
    font-weight: 900;
    font-size: 17px;
    line-height: 120%;
    color: var(--black);

}

.profile-fullness__text {
    font-weight: 300;
    font-size: 14px;
    line-height: 120%;
    color: var(--black);
}

.profile-main {
    margin-top: 40px;
}

.profile-main__tab-item {
    display: none;
}

.profile-main__tab-item--active {
    display: block;
}

.profile-card__title {
    font-weight: 800;
    font-size: 22px;
    line-height: 150%;
    color: var(--black);
    margin: 40px 0 15px;
    padding: 0;
}

.profile__radiobuttons {
    display: flex;
    margin-top: 20px;
}

.profile__radiobutton {
    margin-right: 30px;
}

.profile-main .filter-form__label {
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: var(--black);
    opacity: 0.65;
}

/*.profile-reviews__slider {*/
/*    width: calc(100% + 40px);*/
/*    padding-right: 20px;*/
/*    margin-left: -20px;*/
/*    padding-left: 20px;*/
/*}*/
/*@media (max-width: 380px) {*/
/*    .profile-reviews__slider {*/
/*        padding-left: 0px;*/
/*    }*/
/*}*/

/*.profile-review__slide {*/
/*    width: fit-content;*/
/*}*/

/*.profile-review {*/
/*    background: var(--white);*/
/*    border: 1px solid rgba(0, 0, 0, 0.1);*/
/*    box-sizing: border-box;*/
/*    border-radius: 15px;*/
/*    padding: 20px;*/
/*}*/


/*.profile-review__header {*/
/*    display: flex;*/
/*    align-items: start;*/
/*    justify-content: space-between;*/
/*}*/

/*.profile-review__logo {*/
/*    max-width: 85px;*/
/*}*/
/*@media (max-width: 460px) {*/
/*    .profile-review__logo {*/
/*        max-width: 60px;*/
/*    }*/
/*}*/

/*.profile-review__stars {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*}*/

/*.profile-review__star + .profile-review__star {*/
/*    margin-right: 4px;*/
/*}*/

/*.profile-review__title {*/
/*    padding-top: 20px;*/
/*    font-weight: bold;*/
/*    font-size: 16px;*/
/*    line-height: 22px;*/
/*    color: var(--black);*/
/*    overflow: hidden;*/
/*    white-space: nowrap;*/
/*    text-overflow: ellipsis;*/
/*}*/

/*.profile-review__text {*/
/*    padding-top: 9px;*/
/*    font-size: 14px;*/
/*    line-height: 19px;*/
/*    color: #3E3E3E;*/
/*    overflow: hidden;*/
/*    word-break: break-all;*/
/*    text-overflow: ellipsis;*/
/*}*/


/*From old styles*/

.profile__placeholder {
    position: relative;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    background: #F1F1F5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile__plus {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    border-radius: 50%;
    cursor: pointer;
}

.background__field {
    width: 80px;
    height: 80px;
    background: var(--white);
    display: block;
    position: relative;
    border-radius: 50%;
}

.plus__1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.plus__2 {
    top: 72%;
    left: 14%;
    transform: rotate(90deg) translate(-50%, -50%);
}

.plus {
    position: absolute;
    width: 60%;
    height: 10px;
    background: #F1F1F5;
    border-radius: 2px;
}

.profile__logo {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-edit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.edit-account-form__button {
    width: fit-content;
}

.edit-account-form__button + .edit-account-form__button {
    margin-left: 10px;
}

.edit-account-form__buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 20px;
}
@media (max-width: 460px) {
    .edit-account-form__buttons {
        display: grid;
        gap: 16px;
        grid-template-columns: 1fr;
    }
    .edit-account-form__buttons .button {
        width: 100%;
        margin-left: 0;
    }
}

.edit-account-form__success {
    margin: 20px 0 0;
    color: green;
}

.edit-account-form__error {
    margin: 20px 0 0;
    color: red;
}

.profile-main__birthday {
    display: grid;
    grid-template-columns: 30fr 30fr 40fr;
    gap: 8px;
}

.profile-main__birthday .input {
    padding-left: 1em;
    padding-right: 0.75em;
}

.orange__line {
    width: 100px;
    height: 100px;
    background: #0a72e2;
    padding: 10px;
    border-radius: 50%;
    position: relative;
}

.squard {
    background: var(--orange);
    position: absolute;
    width: 50%;
    height: 50%;
    z-index: -1;
}

.squard1 {
    top: 0;
    left: 0;
    border-top-left-radius: 100%;
}

.squard2 {
    top: 0;
    left: 50%;
    border-top-right-radius: 100%;
}

.squard3 {
    bottom: 0;
    left: 0%;
    border-bottom-left-radius: 100%;
}

.squard4 {
    bottom: 0;
    left: 50%;
    border-bottom-right-radius: 100%;
}

.squard-active {
    background: #FFA800;
}

.orange__line--active {
    margin-bottom: 50px;
    border-radius: 0;
}

.orange__line--active .squard {
    display: none;
}

/*.orange__line--active .profile__placeholder {*/
/*    border-radius: 0;*/
/*}*/

/*.orange__line--active .profile__placeholder-button {*/
/*    display: block;*/
/*}*/

/*.profile__placeholder-button {*/
/*    position: absolute;*/
/*    top: calc(100% + 40px);*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    display: none;*/
/*    border: none;*/
/*    background-color: transparent;*/
/*    color: #FFA800;*/
/*    -webkit-appearance: none;*/
/*    appearance: none;*/
/*}*/
/*.profile__placeholder-button--active {*/
/*    display: block;*/
/*}*/


@font-face {
    font-family: star-review;
    src: url(data:application/x-font-ttf;base64,AAEAAAALAIAAAwAwT1MvMigiLIYAAAC8AAAAYGNtYXAmCyZNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZlNxiKoAAAF4AAABFGhlYWQBHDApAAACjAAAADZoaGVhA+IB6AAAAsQAAAAkaG10eAcAAAAAAALoAAAAHGxvY2EAjADoAAADBAAAABBtYXhwAAoAGAAAAxQAAAAgbmFtZYWP6p0AAAM0AAABaXBvc3QAAwAAAAAEoAAAACAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABAAAgA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AAQAAIAAAAAAAAAAAAAAAAAAAQAAAJdAB4P/g/+AB4AAgAAAAAQAAAAAAAAAAAAAAIAAAAAAAAgAAAAMAAAAUAAMAAQAAABQABABAAAAADAAIAAIABAABACAlyyXQ//3//wAAAAAAICXLJc///f//AAH/49o52jYAAwABAAAAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAEAAOJjA1tfDzz1AAsCAAAAAADP/ne2AAAAAM/+d7YAAP/tAgAB0wAAAAgAAgAAAAAAAAABAAAB4P/gAAACAAAAAAACAAABAAAAAAAAAAAAAAAAAAAABwAAAAAAAAAAAAAAAAEAAAACAAAAAgAAAAIAAAAAAFAAAAcAAAAAAA4ArgABAAAAAAABABYAAAABAAAAAAACAA4AYwABAAAAAAADABYALAABAAAAAAAEABYAcQABAAAAAAAFABYAFgABAAAAAAAGAAsAQgABAAAAAAAKADQAhwADAAEECQABABYAAAADAAEECQACAA4AYwADAAEECQADABYALAADAAEECQAEABYAcQADAAEECQAFABYAFgADAAEECQAGABYATQADAAEECQAKADQAhwBzAHQAYQByAC0AcgBhAHQAaQBuAGcAVgBlAHIAcwBpAG8AbgAgADEALgAwAHMAdABhAHIALQByAGEAdABpAG4AZ3N0YXItcmF0aW5nAHMAdABhAHIALQByAGEAdABpAG4AZwBSAGUAZwB1AGwAYQByAHMAdABhAHIALQByAGEAdABpAG4AZwBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format('woff');
    font-weight: normal;
    font-style: normal;
}

.stars-review {
    font-family: sans-serif;
    font-size: x-large;
    font-family: star-review;
    color: #ffa800;
}

.review__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 15px;
    margin-top: 20px;
}

.review__buttons .button {
    padding: 6px 10px;
    font-size: 16px;
}

@media (max-width: 460px) {
    .review__buttons {
        grid-template-columns: 1fr;
        margin-top: 25px;
    }

    .review__buttons .button {
        padding: 6px 10px;
        font-size: 16px;
    }
}

.review-card__delete {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--black);
}
.review-card__delete:hover {
   border: 1px solid var(--red);
    background: var(--white);
}

.profile-fullness__circle {
    min-width: 120px;
    max-width: 120px;
    min-height: 120px;
    max-height: 120px;
}


@media (max-width: 576px) {
    .profile-fullness__circle {
        min-width: 130px;
        max-width: 130px;
        min-height: 130px;
        max-height: 130px;
    }
}

.profile-fullness__circle-line {
    transform-origin: center;
    transform: rotate(270deg) rotatex(0deg);
    transition: all 1s ease;
}

.profile-fullness__circle-value {
    font-size: 50px;
    transform: translateY(25px) translateX(10px);
    line-height: 30px;
    font-weight: 900;
    fill: var(--black);
}
