.btn-hover {
    transition: all 0.3s ease-in-out;
}

.btn-hover:hover {
transform: scale(1.05);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.login-form, .register-form{
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    gap: 10px;
}

.user_settings{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
}

.user_avatar_big{
    height: 40vh;
    width: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
    border: 1px solid rgba(9, 1, 68, 0.226);
    box-shadow: 0px 10px 10px 4px rgba(9, 1, 68, 0.226);  /*смещение по x, y, размытие, сила*/
}

.user_info{
    display: flex;
    height: 100%;
    width: auto;
    flex-direction: column;
    gap: 20px;
}

.user_avatar_container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.user_block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.cant_change{
    color: rgb(114, 123, 123);
}

/* селектор юзеров в профиле */
.whoseproducts-form {
    justify-content: center;
    align-items: center;
    height: 1vh;
}

.form-left-text{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

/* главный родитель для товаров пользователя */
.my_products{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.instruments{
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    margin-bottom: 3em;
}

/* страница загрузки */
.upload-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

.instruments_on_product{
    position: absolute;
    top: 8px; /* сверху */
    left: 8px;
    right: 8px;
    display: none; /* по умолчанию скрываем, покажем при hover */
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none; /* чтобы не мешать кликам на картинку пока не hover */
    z-index: 10;
}

/* Показываем при наведении на карточку */
.product_card{ position: relative; overflow: hidden; }
.product_card:hover .instruments_on_product{
    display: flex;
    pointer-events: auto;
}

/* Кнопки-кружочки */
.instruments_on_product .icon-btn{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.instruments_on_product .icon-btn:hover{
    background: rgba(0,0,0,0.8);
    transform: scale(1.05);
}