.avatar-upload {
    position: relative;
    max-width: 205px;
    margin: 50px auto;

    .avatar-edit {
        position: absolute;
        right: 0;
        top: -8px;
        z-index: 1;

        input {
            display: none;

            +label {
                display: inline-block;
                width: 34px;
                height: 34px;
                margin-bottom: 0;
                border-radius: 100%;
                background: $white-color;
                box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
                cursor: pointer;
                font-weight: normal;
                transition: all 0.2s ease-in-out;

                &:hover {
                    background: $body-bg-deep;
                }

                &:after {
                    content: "\f03e";
                    font-family: 'Font Awesome 5 Free';
                    color: $brand-color;
                    position: absolute;
                    top: 5px;
                    left: 0;
                    right: 0;
                    text-align: center;
                    margin: auto;
                }
            }
        }
    }

    .avatar-preview {
        width: 192px;
        height: 192px;
        position: relative;
        border-radius: .6rem;
        
        >div {
            width: 100%;
            height: 100%;
            background: $body-bg;
            border-radius: .6rem;
            padding: 6px;

            img {
                border-radius: .6rem;
            }
        }
        
    }
}
