.profile {
    background: #fff;
    border: 1px solid #d9e4e7;
    padding: 20px;
    width: 285px;
    margin-right: 20px;
    border-radius: 3px;
    position: relative;
    box-sizing: border-box;
}

.profile-icon {
    position: relative;
    text-align: center;
    margin: 0 auto;
    cursor: pointer;

    &:hover {
        .edit-photo {
            opacity: 1;
        }
    }
}

.upload-image {
    max-width: 108px;
    margin: 0 auto;
}

.avatar {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    border: 4px solid #f1f1f1;
}

.edit-photo {
    position: absolute;
    left: 50%;
    top: 50%;
    color: #0073aa;
    text-shadow: 2px 2px 3px #fff;
    width: 80px;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.account-info {
    display: flex;
    margin: 5px 0 15px 0;
    align-items: center;

    &:first-child {
        margin: 15px 0;
    }

    &.view {
        justify-content: center;

        :global .dashicons{
            color: #fff;
            border-radius: 50%;
            font-size: 16px;
            width: 16px;
            height: 16px;
            vertical-align: middle;
            margin-top: -2px;
            margin-right: 5px;
        }

        :global .dashicons-yes-alt {
            color: #007cba;
        }

        :global .dashicons-dismiss {
            color: #a00;
        }
    }
}

.account-info-left {
    flex-grow: 2;
    width: 40%;
}
.account-info-right {
    flex-grow: 3;
    width: 60%;

    input {
        max-width: 100%;
    }
}

.send-email {
    margin-right: 20px !important;
}