/* ===================================== */
/*              USER STYLES              */
/* ===================================== */

/* Аватарка */
.user-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    background-size: cover;
    background-position: center;
    transition: var(--transition-fast);
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
}

/* Обертка аватарки */
.avatar-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.avatar-upload-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 18px;
    height: 18px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #000;
    border: 2px solid var(--bg-main);
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition-fast);
}

.avatar-wrapper:hover .user-avatar {
    filter: brightness(0.9);
}

.avatar-wrapper:hover .avatar-upload-icon {
    opacity: 1;
    transform: scale(1);
}

/* Имя пользователя */
.user-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
}

/* Сайдбар */
.sidebar-user {
    margin-top: auto;
    padding: 20px 10px 0;
    border-top: var(--glass-border);
    display: flex;
    align-items: center;
    gap: 15px;
}